You are here

function menu_cache_clear_all in Drupal 6

Same name and namespace in other branches
  1. 8 core/includes/menu.inc \menu_cache_clear_all()
  2. 7 includes/menu.inc \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

4 calls to menu_cache_clear_all()
book_uninstall in modules/book/book.install
Implementation of hook_uninstall().
menu_delete_menu_confirm_submit in modules/menu/menu.admin.inc
Delete a custom menu and all items in it.
menu_enable in modules/menu/menu.module
Implementation of hook_enable()
menu_rebuild in includes/menu.inc
(Re)populate the database tables used by various menu functions.

File

includes/menu.inc, line 1681
API for the Drupal menu system.

Code

function menu_cache_clear_all() {
  cache_clear_all('*', 'cache_menu', TRUE);
}