1.20.x menu.inc menu_reset_static_cache()

Resets the menu system static cache.

Related topics

File

includes/menu.inc, line 2873
API for the Backdrop menu system.

Code

function menu_reset_static_cache() {
  backdrop_static_reset('_menu_build_tree');
  backdrop_static_reset('menu_tree');
  backdrop_static_reset('menu_tree_all_data');
  backdrop_static_reset('menu_tree_page_data');
  backdrop_static_reset('menu_load_all');
  backdrop_static_reset('menu_link_get_preferred');
}