1 search.admin.inc search_reindex_confirm_submit(&$form, &$form_state)

Handler for wipe confirmation

File

core/modules/search/search.admin.inc, line 22
Admin page callbacks for the Search module.

Code

function search_reindex_confirm_submit(&$form, &$form_state) {
  if ($form['confirm']) {
    search_reindex();
    backdrop_set_message(t('The search index will be invalidated.'));
    $form_state['redirect'] = 'admin/config/search/settings';
    return;
  }
}