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

▾ 3 functions call menu_cache_clear_all()

book_uninstall in modules/book/book.install
Implement hook_uninstall().
menu_enable in modules/menu/menu.module
Implement hook_enable().
menu_rebuild in includes/menu.inc
(Re)populate the database tables used by various menu functions.

Code

includes/menu.inc, line 2193

<?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.