You are here

function toolbar_theme in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/toolbar/toolbar.module \toolbar_theme()

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;
}