function admin_settings_rebuild in Admin 7.2
Same name and namespace in other branches
- 6.2 admin.admin.inc \admin_settings_rebuild()
Rebuild form.
1 string reference to 'admin_settings_rebuild'
- admin_menu in ./
admin.module - Implements hook_menu().
File
- ./
admin.admin.inc, line 178
Code
function admin_settings_rebuild($form_state) {
$form = array();
$form['rebuild'] = array(
'#type' => 'fieldset',
'#title' => t('Wipe and rebuild'),
'#description' => t('If the administrative menu is not working properly, you may need to wipe and rebuild it from scratch. <strong>This option will reset any customizations made to your administrative menu items.</strong>'),
);
$form['rebuild']['submit'] = array(
'#type' => 'submit',
'#value' => t('Rebuild'),
'#submit' => array(
'admin_settings_rebuild_submit',
),
);
return $form;
}