function toolbar_theme
toolbar_theme($existing, $type, $theme, $path)
Implements hook_theme().
File
- core/modules/toolbar/toolbar.module, line 38
- Administration toolbar for quick access to top level administration items.
Code
function toolbar_theme($existing, $type, $theme, $path) { $items['toolbar'] = array( 'render element' => 'element', ); $items['menu__toolbar'] = array( 'base hook' => 'menu', 'variables' => array('items' => array(), '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/core!modules!toolbar!toolbar.module/function/toolbar_theme/8.1.x