Skip navigation
Help

menu_cache_clear_all

6 menu.inc menu_cache_clear_all()
7 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

5 calls to menu_cache_clear_all()

File

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

Code

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