You are here

function overlay_get_regions_to_render in Drupal 7

Returns a list of page regions that rendering should be limited to.

Return value

An array containing the names of the regions that will be rendered when drupal_render_page() is called. If empty, then no limits will be imposed, and all regions of the page will be rendered.

See also

overlay_page_alter()

overlay_block_list_alter()

overlay_set_regions_to_render()

2 calls to overlay_get_regions_to_render()
overlay_block_list_alter in modules/overlay/overlay.module
Implements hook_block_list_alter().
overlay_page_alter in modules/overlay/overlay.module
Implements hook_page_alter().

File

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

Code

function overlay_get_regions_to_render() {
  return overlay_set_regions_to_render();
}