disclaimer.module in Disclaimer 8
Same filename and directory in other branches
Contains disclaimer.module.
File
disclaimer.moduleView source
<?php
/**
* @file
* Contains disclaimer.module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function disclaimer_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.disclaimer':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Watches over users visiting sections of the site and displays disclaimer when section is entered.') . '</p>';
return $output;
}
}
Functions
Name | Description |
---|---|
disclaimer_help | Implements hook_help(). |