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()
overlay_exit in modules/overlay/overlay.module
Implements hook_exit().

File

modules/overlay/overlay.module, line 970

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.