You are here

function searchindex_wipe_all in Search Index Wipe 7

Same name and namespace in other branches
  1. 8 searchindex_wipe.module \searchindex_wipe_all()

Redirect to confirmation link.

1 string reference to 'searchindex_wipe_all'
searchindex_wipe_form_search_admin_settings_alter in ./searchindex_wipe.module
Implements hook_form_FORM_ID_alter().

File

./searchindex_wipe.module, line 53
Enables wipe of search index.

Code

function searchindex_wipe_all(&$form, &$form_state) {
  $form_state['redirect'] = array(
    'admin/searchindex_wipe',
  );
}