You are here

function admin_toolbar_toolbar_alter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 modules/admin_toolbar/admin_toolbar.module \admin_toolbar_toolbar_alter()

Implements hook_toolbar_alter().

File

modules/admin_toolbar/admin_toolbar.module, line 6

Code

function admin_toolbar_toolbar_alter(&$items) {
  $items['administration']['tray']['toolbar_administration']['#pre_render'] = array(
    'admin_toolbar_prerender_toolbar_administration_tray',
  );
  $items['administration']['#attached']['library'][] = 'admin_toolbar/toolbar.tree';
}