toolbar_theme
function toolbar_theme
toolbar_theme($existing, $type, $theme, $path)
Implements hook_theme().
File
- 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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!toolbar!toolbar.module/function/toolbar_theme/7.x