summaryrefslogtreecommitdiff
path: root/modules/toolbar
diff options
context:
space:
mode:
Diffstat (limited to 'modules/toolbar')
-rw-r--r--modules/toolbar/toolbar.info2
-rw-r--r--modules/toolbar/toolbar.module17
2 files changed, 18 insertions, 1 deletions
diff --git a/modules/toolbar/toolbar.info b/modules/toolbar/toolbar.info
index 23b6b477d..92fd7bb45 100644
--- a/modules/toolbar/toolbar.info
+++ b/modules/toolbar/toolbar.info
@@ -1,6 +1,6 @@
; $Id$
name = Toolbar
-description = Toolbar exposing the top level administration menu items.
+description = Provides a toolbar that shows the top-level administration menu items and links from other modules.
core = 7.x
package = Core
version = VERSION
diff --git a/modules/toolbar/toolbar.module b/modules/toolbar/toolbar.module
index f668cb135..3c3667fde 100644
--- a/modules/toolbar/toolbar.module
+++ b/modules/toolbar/toolbar.module
@@ -7,6 +7,23 @@
*/
/**
+ * Implements hook_help().
+ */
+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="@toolbar">Toolbar module</a>.', array('@toolbar' => 'http://drupal.org/handbook/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="@shortcuts-help">Shortcut</a> module. The drawer can be hidden/shown by using the close/open drawer link at the end of the toolbar.', array('@shortcuts-help' => url('admin/help/shortcut'))) . '</dd>';
+ $output .= '</dl>';
+ return $output;
+ }
+}
+
+/**
* Implementation of hook_permission().
*/
function toolbar_permission() {