function admin_menu_flush_caches in Administration menu 6.3
Same name and namespace in other branches
- 7.3 admin_menu.module \admin_menu_flush_caches()
Implements hook_flush_caches().
Flush client-side caches.
2 calls to admin_menu_flush_caches()
- admin_menu_menu_alter in ./
admin_menu.module - Implements hook_menu_alter().
- admin_menu_toggle_modules in ./
admin_menu.inc - Menu callback; Enable/disable developer modules.
1 string reference to 'admin_menu_flush_caches'
File
- ./
admin_menu.module, line 751 - Render an administrative menu as a dropdown menu at the top of the window.
Code
function admin_menu_flush_caches() {
// Flush cached output of admin_menu.
cache_clear_all('admin_menu:', 'cache_menu', TRUE);
// Flush client-side cache hashes.
// db_table_exists() required for SimpleTest.
if (db_table_exists('cache_admin_menu')) {
cache_clear_all('*', 'cache_admin_menu', TRUE);
}
}