You are here

function google_cse_help in Google Custom Search Engine 8

Same name and namespace in other branches
  1. 8.3 google_cse.module \google_cse_help()
  2. 8.2 google_cse.module \google_cse_help()
  3. 7.3 google_cse.module \google_cse_help()
  4. 7.2 google_cse.module \google_cse_help()

Implements hook_help().

File

./google_cse.module, line 13
Contains google_cse.module.

Code

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

    // Main module help for the google_cse module.
    case 'help.page.google_cse':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Use Google Custom Search to search your site and/or any other sites.') . '</p>';
      return $output;
    default:
  }
}