You are here

function cache_actions_action_clear_panels_page_cache in Cache Actions 6

Same name and namespace in other branches
  1. 6.2 cache_actions.rules.inc \cache_actions_action_clear_panels_page_cache()
  2. 7 cache_actions.rules.inc \cache_actions_action_clear_panels_page_cache()

Clear the cache of the specified panel page.

Parameters

int $did the display id:

File

./cache_actions.rules.inc, line 135
This file provides the rules integration for this module. @author Fabian Sörqvist <fabian.sorqvist@gmail.com>

Code

function cache_actions_action_clear_panels_page_cache($did) {
  if (module_exists('page_manager')) {
    $display = panels_load_display($did);
    _cache_actions_clear_panels_cache($display);
  }
}