You are here

function overlay_regions in Drupal 7

Returns a list of page regions that appear in the overlay.

Overlay regions correspond to the entire contents of the overlay child window and are refreshed each time a new page request is made within the overlay.

Return value

An array of region names that correspond to those which appear in the overlay, within the theme that is being used to display the current page.

See also

overlay_supplemental_regions()

1 call to overlay_regions()
overlay_overlay_child_initialize in modules/overlay/overlay.module
Implements hook_overlay_child_initialize().

File

modules/overlay/overlay.module, line 768
Displays the Drupal administration interface in an overlay.

Code

function overlay_regions() {
  return _overlay_region_list('overlay_regions');
}