function cache_actions_action_clear_cache_cid in Cache Actions 7.2
Same name and namespace in other branches
- 6.2 cache_actions.rules.inc \cache_actions_action_clear_cache_cid()
- 7 cache_actions.rules.inc \cache_actions_action_clear_cache_cid()
This action clears a specific cache cid in a cache bin.
Parameters
string $bin: The bin where the cid should reside.
string $cid: The cache cid to clear.
boolean $wildcard: Wether or not to use wildcard invalidation.
Return value
FALSE Return False to avoid problems with rules trying to run save.
1 string reference to 'cache_actions_action_clear_cache_cid'
- cache_actions_rules_action_info in ./
cache_actions.rules.inc - Implements hook_rules_action_info().
File
- ./
cache_actions.rules.inc, line 454 - This file provides the rules integration for this module.
Code
function cache_actions_action_clear_cache_cid($bin, $cid, $wildcard) {
cache_clear_all($cid, $bin, (bool) $wildcard);
return FALSE;
}