You are here

function cache_actions_action_clear_cache_cid in Cache Actions 6.2

Same name and namespace in other branches
  1. 7.2 cache_actions.rules.inc \cache_actions_action_clear_cache_cid()
  2. 7 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.:

1 string reference to 'cache_actions_action_clear_cache_cid'
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 819
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);
}