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;
}
doc_Drupal
2016-10-29 09:48:42
Comments
Leave a Comment

Please login to continue.