function _cacheflush_clear_preset_clear_call_functions in CacheFlush 7
Same name and namespace in other branches
- 7.2 cacheflush.inc \_cacheflush_clear_preset_clear_call_functions()
Call predefined functions to clear cache.
Parameters
array $settings: Preset setting with cache clear functions.
1 call to _cacheflush_clear_preset_clear_call_functions()
- _cacheflush_clear_preset in ./
cacheflush.inc - Based on settings decide witch clear cache function to be called.
File
- ./
cacheflush.inc, line 69 - Cacheflusher module inc file with dinamic clear cache functions.
Code
function _cacheflush_clear_preset_clear_call_functions($settings) {
// Call every function declared in preset.
foreach ($settings['functions'] as $value) {
$value();
}
}