function searchindex_wipe_all in Search Index Wipe 8
Same name and namespace in other branches
- 7 searchindex_wipe.module \searchindex_wipe_all()
Redirect to confirmation link.
1 string reference to 'searchindex_wipe_all'
File
- ./
searchindex_wipe.module, line 29 - Enables wipe of search index.
Code
function searchindex_wipe_all(&$form, FormStateInterface $form_state) {
$url = new Url('searchindex_wipe.reindex_confirm');
$form_state
->setRedirectUrl($url);
}