You are here

function navbar_system_info_alter in Navbar 7

Implements hook_system_info_alter().

Indicate that the 'page_top' region (in which the navbar will be displayed) is an overlay supplemental region that should be refreshed whenever its content is updated.

This information is provided for any module that might need to use it, not just the core Overlay module.

File

./navbar.module, line 502
Administration navbar for quick access to top level administration items.

Code

function navbar_system_info_alter(&$info, $file, $type) {
  if ($type == 'theme') {
    $info['overlay_supplemental_regions'][] = 'page_top';
  }
}