menu_rebuild

Related topics

Namesort iconDescription
Menu systemDefine the navigation menus, and route page requests to code based on URLs.

Functions that call menu_rebuild()

Namesort iconLocationDescription
drupal_flush_all_cachesincludes/common.incFlush all cached data on the site.
menu_enablemodules/menu/menu.moduleImplementation of hook_enable().
menu_execute_active_handlerincludes/menu.incExecute the page callback associated with the current path
menu_rebuildincludes/menu.inc(Re)populate the database tables used by various menu functions.
menu_uninstallmodules/menu/menu.installImplementation of hook_uninstall().
node_type_delete_confirm_submitmodules/node/content_types.incProcess content type delete confirm submissions.
node_type_form_submitmodules/node/content_types.incImplementation of hook_form_submit().
profile_admin_overview_submitmodules/profile/profile.admin.incSubmit handler to update changed profile field weights and categories. See alsoprofile_admin_overview()
profile_field_form_submitmodules/profile/profile.admin.incProcess profile_field_form submissions.
system_modulesmodules/system/system.admin.incMenu callback; provides module enable/disable interface.
system_themes_form_submitmodules/system/system.admin.incProcess system_themes_form form submissions.
system_update_6021modules/system/system.installMigrate the menu items from the old menu system to the new menu_links table.
system_update_6029modules/system/system.installEnable the dblog module on sites that upgrade, since otherwise watchdog logging will stop unexpectedly.
update_uninstallmodules/update/update.installImplementation of hook_uninstall().
_locale_import_poincludes/locale.incParses Gettext Portable Object file information and inserts into database

Functions called by menu_rebuild()

Namesort iconLocationDescription
menu_cache_clear_allincludes/menu.incClears all cached menu data. This should be called any time broad changes might have been made to the router items or menu links.
menu_rebuildincludes/menu.inc(Re)populate the database tables used by various menu functions.
menu_router_buildincludes/menu.incCollect, alter and store the menu definitions.
variable_delincludes/bootstrap.incUnset a persistent variable.
variable_setincludes/bootstrap.incSet a persistent variable.
_menu_clear_page_cacheincludes/menu.incHelper function to clear the page and block caches at most twice per page load.
_menu_navigation_links_rebuildincludes/menu.incHelper function to build menu links for the items in the menu router.
 
 

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.