You are here

function toolbar_menu_page_top in Toolbar Menu 8

Same name and namespace in other branches
  1. 8.2 toolbar_menu.module \toolbar_menu_page_top()

Implements hook_page_top().

Add a new cache tag for the toolbar cache.

File

./toolbar_menu.module, line 39
Add menu entries in the Drupal Toolbar.

Code

function toolbar_menu_page_top(array &$page_top) {
  $page_top['toolbar']['#cache']['tags'][] = 'toolbar_menu';
}