You are here

function multidomain_google_analytics_help in Multidomain Google Analytics 8

Same name and namespace in other branches
  1. 8.2 multidomain_google_analytics.module \multidomain_google_analytics_help()

Implements hook_help().

File

./multidomain_google_analytics.module, line 13
Drupal Module: Multidomain Google Analytics.

Code

function multidomain_google_analytics_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.multidomain_google_analytics':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Admin can add Google Analytics tracking system for multidomain website.') . '</p>';
      return $output;
    case 'multidomain_google_analytics.google_admin_settings_form':
      return t('<a href=":ga_url">Google Analytics</a> is a free (registration required) website traffic and marketing effectiveness service.', [
        ':ga_url' => 'http://www.google.com/analytics/',
      ]);
  }
}