You are here

function cache_actions_action_clear_cache_cid in Cache Actions 7

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

This action clears a specific cache sid in a cache bin.

Parameters

$table the table where the cid should reside.:

$cid the cache cid to clear:

$wildcard wether or not to use wildcard invalidation.:

2 string references to 'cache_actions_action_clear_cache_cid'
cache_actions_rules_action_info in ./cache_actions.rules.inc
Implementation of hook_rules_action_info().
cache_actions_test_rules_defaults in cache_actions_test/cache_actions_test.rules_defaults.inc
Implementation of hook_rules_defaults(). Below are the rules needed for the testing.

File

./cache_actions.rules.inc, line 720
This file provides the rules integration for this module.

Code

function cache_actions_action_clear_cache_cid($table, $cid, $wildcard) {
  cache_clear_all($cid, $table, $wildcard);
}