You are here

function campaignmonitor_help in Campaign Monitor 8

Same name and namespace in other branches
  1. 8.2 campaignmonitor.module \campaignmonitor_help()
  2. 5.2 campaignmonitor.module \campaignmonitor_help()
  3. 5 campaignmonitor.module \campaignmonitor_help()
  4. 6.3 campaignmonitor.module \campaignmonitor_help()
  5. 6 campaignmonitor.module \campaignmonitor_help()
  6. 6.2 campaignmonitor.module \campaignmonitor_help()
  7. 7 campaignmonitor.module \campaignmonitor_help()

Implements hook_help().

File

./campaignmonitor.module, line 27
Module that plugs in Campaign Monitor functionality to your Drupal web site. For Campaign Monitor information see: http://www.campaignmonitor.com/.

Code

function campaignmonitor_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the facets module.
    case 'campaignmonitor.admin':
      return '<p>' . t('Use your API key and other keys to have users register for a mailing list setup through
      Campaign Monitor.') . '</p>';
      break;
    case 'help.page.campaignmonitor':
      $output = '<p>' . t('In order for a newsletter list to be available for selection on the site it needs to be
    enabled from <a href="@admin">Lists</a>', [
        '@admin' => '/admin/config/services/campaignmonitor/lists',
      ]) . '</p>';
      return $output;
  }
}