You are here

function adsense_help in Google AdSense integration 8

Same name and namespace in other branches
  1. 5 adsense.module \adsense_help()
  2. 5.2 adsense.module \adsense_help()
  3. 7 adsense.module \adsense_help()

Implements hook_help().

File

./adsense.module, line 205
Displays Google AdSense ads on Drupal pages.

Code

function adsense_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.adsense':
      module_load_include('inc', 'adsense', 'help/adsense.help');
      return adsense_help_text();
  }
  return '';
}