function toolbar_menu

7.x toolbar.module toolbar_menu()

Implements hook_menu().

2 string references to 'toolbar_menu'
toolbar.tpl.php in drupal-7.x/modules/toolbar/toolbar.tpl.php
Default template for admin toolbar.
toolbar_view in drupal-7.x/modules/toolbar/toolbar.module
Builds the admin menu as a structured array ready for drupal_render().

File

drupal-7.x/modules/toolbar/toolbar.module, line 57
Administration toolbar for quick access to top level administration items.

Code

function toolbar_menu() {
  $items['toolbar/toggle'] = array(
    'title' => 'Toggle drawer visibility',
    'type' => MENU_CALLBACK,
    'page callback' => 'toolbar_toggle_page',
    'access arguments' => array('access toolbar'),
  );
  return $items;
}