You are here

function admin_menu_system_info_alter in Administration menu 8.3

Same name and namespace in other branches
  1. 7.3 admin_menu.module \admin_menu_system_info_alter()

Implements hook_system_info_alter().

Indicate that the 'page_bottom' region (in which the administration menu is displayed) is an overlay supplemental region that should be refreshed whenever its content is updated.

See also

toolbar_system_info_alter()

File

./admin_menu.module, line 142
Render an administrative menu as a dropdown menu at the top of the window.

Code

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