You are here

function htmlmail_help in HTML Mail 8.3

Same name and namespace in other branches
  1. 8 htmlmail.module \htmlmail_help()
  2. 8.2 htmlmail.module \htmlmail_help()
  3. 5 htmlmail.module \htmlmail_help()
  4. 6.2 htmlmail.module \htmlmail_help()
  5. 6 htmlmail.module \htmlmail_help()
  6. 7.2 htmlmail.module \htmlmail_help()
  7. 7 htmlmail.module \htmlmail_help()

Implements hook_help().

File

./htmlmail.module, line 162
Default file for HTML Mail module.

Code

function htmlmail_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.htmlmail':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('<a target="blank" href=":htmlmail">HTML Mail</a> lets you theme your messages the same way you theme the rest of your website. For more information, see the <a href=":online_documentation">online documentation for the HTML Mail project.</a>', [
        ':htmlmail' => 'https://www.drupal.org/project/htmlmail',
        ':online_documentation' => 'https://www.drupal.org/docs/8/modules/html-mail',
      ]) . '</p>';
      return $output;
  }
}