You are here

function google_tag_help in GoogleTagManager 8

Same name and namespace in other branches
  1. 7.2 google_tag.module \google_tag_help()
  2. 7 google_tag.module \google_tag_help()

Implements hook_help().

File

./google_tag.module, line 30
Provides primary Drupal hook implementations.

Code

function google_tag_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.google_tag':
    case 'google_tag.settings_form':
      return t('<a href=":url">Google Tag Manager</a> is a free service (registration required) to manage the insertion of tags for capturing website analytics.', [
        ':url' => 'https://tagmanager.google.com/',
      ]);
  }
}