function menu_reset_static_cache

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 menu.inc menu_reset_static_cache()
cle7 menu.inc menu_reset_static_cache()
elmsmedia7 menu.inc menu_reset_static_cache()
icor7 menu.inc menu_reset_static_cache()
meedjum_blog7 menu.inc menu_reset_static_cache()
mooc7 menu.inc menu_reset_static_cache()

Resets the menu system static cache.

Related topics

3 calls to menu_reset_static_cache()
menu_cache_clear in includes/menu.inc
Clears the cached cached data for a single named menu.
menu_cache_clear_all in includes/menu.inc
Clears all cached menu data.
system_flush_caches in modules/system/system.module
Implements hook_flush_caches().

File

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

Code

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