1 admin_bar.module admin_bar_menu_link_update($link)

Implements hook_menu_link_update().

File

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

Code

function admin_bar_menu_link_update($link) {
  // Flush all of our caches to pick up the link.
  if ($link['menu_name'] == 'management') {
    cache('admin_bar')->flush();
  }
}