function admin_toolbar_tools_help in Admin Toolbar 8.2
Same name and namespace in other branches
- 8 admin_toolbar_tools/admin_toolbar_tools.module \admin_toolbar_tools_help()
- 3.x admin_toolbar_tools/admin_toolbar_tools.module \admin_toolbar_tools_help()
Implements hook_help().
File
- admin_toolbar_tools/
admin_toolbar_tools.module, line 42 - Provides extra menu links for the core drupal toolbar.
Code
function admin_toolbar_tools_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.admin_toolbar_tools':
$output = '';
$output .= '<p>';
$output .= t('The Admin Toolbar Extra Tools module comes packaged with the <a href=":admin-toolbar">Admin Toolbar</a> module and adds functionality to it. The additional functionality is accessed through extra links on the main administration Toolbar. Some links to Admin Toolbar Extra Tools administration pages are located at the bottom of this page.</a>', [
':admin-toolbar' => Url::fromRoute('help.page', [
'name' => 'admin_toolbar',
])
->toString(),
]);
$output .= '</p>';
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<p>' . t('To use Admin Toolbar Extra Tools just install it like any other module. There is no other configuration required.') . '</p>';
return $output;
}
}