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
1 2 3 4 5 6 7 8 9 10 11 | 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 ; } |
Please login to continue.