1.12.x admin_bar.module admin_bar_menu_link_insert($link)
1.10.x admin_bar.module admin_bar_menu_link_insert($link)
1.11.x admin_bar.module admin_bar_menu_link_insert($link)
1.7.x admin_bar.module admin_bar_menu_link_insert($link)

Implements hook_menu_link_insert().

File

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

Code

function admin_bar_menu_link_insert($link) {
  // Flush all of our caches to pick up the link.
  cache('admin_bar')->flush();
}