function extlink_help in External Links 8
Same name and namespace in other branches
- 7 extlink.module \extlink_help()
Implements hook_help().
File
- ./
extlink.module, line 32 - This is the External Links module.
Code
function extlink_help($route_name, RouteMatchInterface $arg) {
switch ($route_name) {
case 'help.page.extlink':
$output = '';
$output .= '<p>' . t('External Links is used to differentiate between internal and external links. Using jQuery, it will find all external links on a page and add an external icon indicating it will take you offsite or a mail icon for mailto links.') . '</p>';
return [
'#markup' => $output,
];
}
}