function toolbar_menu

Implements hook_menu().

File

modules/toolbar/toolbar.module, line 57

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.