You are here

function cookieconsent_help in CookieConsent 8

Implements hook_help().

File

./cookieconsent.module, line 14
Contains cookieconsent.module.

Code

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

    // Main module help for the cookieconsent module.
    case 'help.page.cookieconsent':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('CookieConsent uses the Cookie Consent javascript library for alerting users about the use of cookies on your website') . '</p>';
      return $output;
    default:
  }
}