1.12.x admin_bar.module admin_bar_menu_alter(&$items)
1.10.x admin_bar.module admin_bar_menu_alter(&$items)
1.11.x admin_bar.module admin_bar_menu_alter(&$items)
1.7.x admin_bar.module admin_bar_menu_alter(&$items)

Implements hook_menu_alter().

File

modules/admin_bar/admin_bar.module, line 85
Render an administrative bar as a dropdown menu at the top of the window.

Code

function admin_bar_menu_alter(&$items) {
  // Flush client-side caches whenever the menu is rebuilt.
  cache('admin_bar')->flush();
}