You are here

function workbench_email_help in Workbench Email 8

Same name and namespace in other branches
  1. 7.3 workbench_email.module \workbench_email_help()
  2. 7 workbench_email.module \workbench_email_help()
  3. 2.x workbench_email.module \workbench_email_help()

Implements hook_help().

File

./workbench_email.module, line 22
Provides main module functions.

Code

function workbench_email_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'entity.workbench_email_template.collection':
    case 'help.page.workbench_email':
      return '<p>' . t("The Workbench Moderation Email module keeps track of when a piece of entity transitions from one state to another. Admins can create new templates to manage the contents and recipients of email sent when those transitions happen.") . '</p><p>' . t('Each template can be attached to a transition by editing the transition and selecting the templates to use.') . '</p>';
  }
}