function _cache_actions_get_cache_bins in Cache Actions 7
Same name and namespace in other branches
- 6.2 cache_actions.rules.inc \_cache_actions_get_cache_bins()
Get all cache bins available.
1 call to _cache_actions_get_cache_bins()
- cache_actions_action_clear_cache in ./
cache_actions.rules.inc - This action that clears all cache bins specified.
1 string reference to '_cache_actions_get_cache_bins'
- cache_actions_rules_action_info in ./
cache_actions.rules.inc - Implementation of hook_rules_action_info().
File
- ./
cache_actions.rules.inc, line 737 - 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;
}