function helper_admin_menu_cache_flush_entity in Helper 7
Cache callback to clear entity-related caches.
1 string reference to 'helper_admin_menu_cache_flush_entity'
- helper_admin_menu_cache_info in ./
helper.admin_menu.inc - Implements hook_admin_menu_cache_info().
File
- ./
helper.admin_menu.inc, line 48 - Administration menu integration for the Helper module.
Code
function helper_admin_menu_cache_flush_entity() {
entity_info_cache_clear();
if (module_exists('entitycache')) {
$tables = module_invoke('entitycache', 'flush_caches');
foreach ($tables as $table) {
cache_clear_all('*', $table, TRUE);
}
}
}