menu_cache_clear_all

Versions
6 – 7
menu_cache_clear_all()

Clears all cached menu data. This should be called any time broad changes might have been made to the router items or menu links.

Related topics

▾ 6 functions call menu_cache_clear_all()

admin_menu_uninstall in core/sites/all/modules/admin_menu/admin_menu.install
Implementation of hook_uninstall().
book_uninstall in core/modules/book/book.install
Implements hook_uninstall().
menu_delete in core/modules/menu/menu.module
Delete a custom menu and all contained links.
menu_enable in core/modules/menu/menu.module
Implements hook_enable().
menu_rebuild in core/includes/menu.inc
(Re)populate the database tables used by various menu functions.
menu_save in core/modules/menu/menu.module
Save a custom menu.

Code

core/includes/menu.inc, line 2307

<?php
function menu_cache_clear_all() {
  cache_clear_all('*', 'cache_menu', TRUE);
  menu_reset_static_cache();
}
?>