You are here

function mailsystem_help in Mail System 8.4

Implements hook_help().

File

./mailsystem.module, line 48
Provide UI for controlling the mail_system variable.

Code

function mailsystem_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.mailsystem':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('<a href=":mailsystem">Mail System</a> Provides an Administrative UI and Developers API for managing the used mail backend/plugin.</a>', [
        ':mailsystem' => 'http://drupal.org/project/mailsystem',
      ]) . '</p>';
      $output .= '<h3>' . t('Uses') . '</h3>';
      $output .= '<p>' . t('Allows to use different backends for formatting and sending e-mails by default, per module and per mail key. Additionally, a theme can be configured that is used for sent mails.') . '</p>';
      return $output;
  }
}