function toolbar_theme
7.x toolbar.module | toolbar_theme($existing, $type, $theme, $path) |
Implements hook_theme().
File
- drupal-7.x/
modules/ toolbar/ toolbar.module, line 39 - Administration toolbar for quick access to top level administration items.
Code
function toolbar_theme($existing, $type, $theme, $path) {
$items['toolbar'] = array(
'render element' => 'toolbar',
'template' => 'toolbar',
'path' => drupal_get_path('module', 'toolbar'),
);
$items['toolbar_toggle'] = array(
'variables' => array(
'collapsed' => NULL,
'attributes' => array(),
),
);
return $items;
}