function overlay_request_refresh

7.x overlay.module overlay_request_refresh($region)

Requests that the parent window refreshes a particular page region.

Parameters

$region: The name of the page region to refresh. The parent window will trigger a refresh of this region on the next page load.

See also

overlay_trigger_refresh()

Drupal.overlay.refreshRegions()

1 call to overlay_request_refresh()
overlay_exit in drupal-7.x/modules/overlay/overlay.module
Implements hook_exit().

File

drupal-7.x/modules/overlay/overlay.module, line 956
Displays the Drupal administration interface in an overlay.

Code

function overlay_request_refresh($region) {
  $class = drupal_region_class($region);
  $_SESSION['overlay_regions_to_refresh'][] = array($class => $region);
}