function amp_help in Accelerated Mobile Pages (AMP) 8
Same name and namespace in other branches
- 8.3 amp.module \amp_help()
- 8.2 amp.module \amp_help()
- 7 amp.module \amp_help()
Implements hook_help().
File
- ./
amp.module, line 16
Code
function amp_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the amp module.
case 'help.page.amp':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Google AMP integration') . '</p>';
return $output;
default:
}
}