You are here

function devel_menu_rebuild in Devel 6

Same name and namespace in other branches
  1. 7 devel.pages.inc \devel_menu_rebuild()

Menu callback; clear the database, resetting the menu to factory defaults.

1 string reference to 'devel_menu_rebuild'
devel_menu in ./devel.module
Implementation of hook_menu().

File

./devel.module, line 1270

Code

function devel_menu_rebuild() {
  menu_rebuild();
  drupal_set_message(t('The menu router has been rebuilt.'));
  drupal_goto();
}