toolbar_help
function toolbar_help
toolbar_help($path, $arg)
Implements hook_help().
File
- modules/toolbar/toolbar.module, line 11
- Administration toolbar for quick access to top level administration items.
Code
function toolbar_help($path, $arg) { switch ($path) { case 'admin/help#toolbar': $output = '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Toolbar module displays links to top-level administration menu items and links from other modules at the top of the screen. For more information, see the online handbook entry for <a href="drupal_7-modules-toolbar-toolbar-module-function-toolbar_help-@toolbar.html?lang=en">Toolbar module</a>.', array('@toolbar' => 'http://drupal.org/documentation/modules/toolbar/')) . '</p>'; $output .= '<h3>' . t('Uses') . '</h3>'; $output .= '<dl>'; $output .= '<dt>' . t('Displaying administrative links') . '</dt>'; $output .= '<dd>' . t('The Toolbar module displays a bar containing top-level administrative links across the top of the screen. Below that, the Toolbar module has a <em>drawer</em> section where it displays links provided by other modules, such as the core <a href="drupal_7-modules-toolbar-toolbar-module-function-toolbar_help-@shortcuts-help.html?lang=en">Shortcut module</a>. The drawer can be hidden/shown by using the show/hide shortcuts link at the end of the toolbar.', array('@shortcuts-help' => url('admin/help/shortcut'))) . '</dd>'; $output .= '</dl>'; return $output; } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!toolbar!toolbar.module/function/toolbar_help/7.x