You are here

function _cache_actions_get_cache_bins in Cache Actions 6.2

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

Get all cache bins available.

3 calls to _cache_actions_get_cache_bins()
cache_actions_action_clear_cache in ./cache_actions.rules.inc
This action that clears all cache tables specified.
cache_actions_action_clear_cache_cid_form in ./cache_actions.rules.inc
Action to clear cache cid configuration form.
cache_actions_action_clear_cache_form in ./cache_actions.rules.inc
Action to clear cache configuration form.

File

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

Code

function _cache_actions_get_cache_bins() {
  $cache_bins = array(
    'cache' => 'cache',
    'cache_block' => 'cache_block',
    'cache_filter' => 'cache_filter',
    'cache_page' => 'cache_page',
  );
  foreach (module_invoke_all('flush_caches') as $cache_bin) {
    $cache_bins[$cache_bin] = $cache_bin;
  }
  return $cache_bins;
}