function icon_reset_static_cache in Icon API 7
Same name and namespace in other branches
- 8 includes/cache.inc \icon_reset_static_cache()
Clears all static caches used by the icon module.
1 call to icon_reset_static_cache()
- icon_clear_all_caches in includes/
cache.inc - Clears all caches used by the icon module.
File
Code
function icon_reset_static_cache() {
$functions = array(
'icon_bundles',
'icon_bundle_load',
'icon_extension_hook',
'icon_extension_implements',
'icon_find_theme_include',
'icon_render_hooks',
'icon_process_attached',
);
foreach ($functions as $function) {
drupal_static_reset($function);
}
}