You are here

function toolbar_menu in Drupal 7

Implements hook_menu().

File

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;
}