function search_reindex_confirm_submit
Handler for wipe confirmation
File
-
modules/
search/ search.admin.inc, line 19
Code
function search_reindex_confirm_submit(&$form, &$form_state) {
if ($form['confirm']) {
search_reindex();
drupal_set_message(t('The index will be rebuilt.'));
$form_state['redirect'] = 'admin/config/search/settings';
return;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.