function _cache_actions_check_module_cache_bins in Cache Actions 7.2
We are storing all cache bins in a variable for performance reasons. If any of the modules that we just enabled defines a cache bin, we need to resave that variable so that all cache keys are available.
2 calls to _cache_actions_check_module_cache_bins()
- cache_actions_modules_disabled in ./
cache_actions.module - Implements hook_modules_enabled().
- cache_actions_modules_enabled in ./
cache_actions.module - Implements hook_modules_enabled().
File
- ./
cache_actions.module, line 53 - This is the module file. It contains hooks for panels and views.
Code
function _cache_actions_check_module_cache_bins($modules) {
foreach ($modules as $module) {
if (module_hook($module, 'flush_caches')) {
cache_actions_cache_bins_reset();
break;
}
}
}