You are here

function cache_actions_action_clear_panels_mini_cache in Cache Actions 6

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

Clear the cache of the specified mini panel.

Parameters

int $did the display id:

File

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

Code

function cache_actions_action_clear_panels_mini_cache($did) {
  if (module_exists('panels_mini')) {
    $display = panels_load_display($did);
    _cache_actions_clear_panels_cache($display);
  }
}