function menu_cache_clear_all

×

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_cache_clear_all()
cle7 menu.inc menu_cache_clear_all()
elmsmedia7 menu.inc menu_cache_clear_all()
icor7 menu.inc menu_cache_clear_all()
meedjum_blog7 menu.inc menu_cache_clear_all()
mooc7 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()
book_uninstall in modules/book/book.install
Implements hook_uninstall().
menu_delete in modules/menu/menu.module
Delete a custom menu and all contained links.
menu_enable in modules/menu/menu.module
Implements hook_enable().
menu_rebuild in includes/menu.inc
Populates the database tables used by various menu functions.
menu_save in modules/menu/menu.module
Save a custom menu.

File

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

Code

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