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

▾ 4 functions call 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.

Code

includes/menu.inc, line 1676

<?php
function menu_cache_clear_all() {
  cache_clear_all('*', 'cache_menu', TRUE);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.