overlay_request_refresh

function overlay_request_refresh

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()

File

modules/overlay/overlay.module, line 970
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);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!overlay!overlay.module/function/overlay_request_refresh/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部