You are here

function gdpr_help in General Data Protection Regulation 8.2

Same name and namespace in other branches
  1. 8 gdpr.module \gdpr_help()
  2. 7 gdpr.module \gdpr_help()
  3. 3.0.x gdpr.module \gdpr_help()

Implements hook_help().

File

./gdpr.module, line 16
Module file.

Code

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

    // Main module help for the GDPR module.
    case 'help.page.gdpr':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Provides help for making your drupal site GDPR-compliant.') . '</p>';
      return $output;
    default:
  }
}