function overlay_request_refresh

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()
OverlaySubscriber::onResponse in drupal/core/modules/overlay/lib/Drupal/overlay/EventSubscriber/OverlaySubscriber.php
Performs end of request tasks.

File

drupal/core/modules/overlay/overlay.module, line 882
Displays the Drupal administration interface in an overlay.

Code

function overlay_request_refresh($region) {
  $class = drupal_html_class("region-{$region}");
  $_SESSION['overlay_regions_to_refresh'][] = array(
    $class => $region,
  );
}