You are here

function devel_menu_rebuild in Devel 7

Same name and namespace in other branches
  1. 6 devel.module \devel_menu_rebuild()

Page callback: Clears the database, resetting the menu to factory defaults.

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

File

./devel.pages.inc, line 124
Page callbacks for Devel.

Code

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