function _cache_actions_clear_panels_cache in Cache Actions 7.2
Same name and namespace in other branches
- 6 cache_actions.rules.inc \_cache_actions_clear_panels_cache()
Flush cached panels panes
The flush uses wildcards.
Parameters
array $panes: List of pane caching ids to flush.
1 string reference to '_cache_actions_clear_panels_cache'
- cache_actions_rules_action_info in ./
cache_actions.rules.inc - Implements hook_rules_action_info().
File
- ./
cache_actions.rules.inc, line 271 - This file provides the rules integration for this module.
Code
function _cache_actions_clear_panels_cache($panes) {
foreach ($panes as $pane) {
cache_clear_all($pane, 'cache', TRUE);
}
return FALSE;
}