You are here

function acquia_lift_system_info_alter in Acquia Lift Connector 7

Same name and namespace in other branches
  1. 7.2 acquia_lift.module \acquia_lift_system_info_alter()

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.

See also

navbar_system_info_alter().

File

./acquia_lift.module, line 2246
acquia_lift.module Provides Acquia Lift-specific personalization functionality.

Code

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