function MailerHooks::help
Implements hook_help().
Attributes
#[Hook('help')]
File
-
core/
modules/ mailer/ src/ Hook/ MailerHooks.php, line 19
Class
- MailerHooks
- Hook implementations for mailer.
Namespace
Drupal\mailer\HookCode
public function help($route_name, RouteMatchInterface $route_match) : ?string {
switch ($route_name) {
case 'help.page.mailer':
$output = '';
$output .= '<h3>' . $this->t('About') . '</h3>';
$output .= '<p>' . $this->t('The Mailer module provides an experimental API to build and deliver email messages based on Symfony mailer component. For more information, see the <a href=":mailer">online documentation for the Mailer module</a>.', [
':mailer' => 'https://www.drupal.org/docs/core-modules-and-themes/experimental-extensions/experimental-modules/mailer',
]) . '</p>';
return $output;
default:
return NULL;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.