function apachesolr_search_form_apachesolr_delete_index_confirm_alter in Apache Solr Search 8
Same name and namespace in other branches
- 6.3 apachesolr_search.module \apachesolr_search_form_apachesolr_delete_index_confirm_alter()
Implements hook_form_[form_id]_alter().
Rebuild (empty) the spellcheck dictionary when the index is deleted..
File
- ./
apachesolr_search.module, line 1564 - Provides a content search implementation for node content for use with the Apache Solr search application.
Code
function apachesolr_search_form_apachesolr_delete_index_confirm_alter(&$form, $form_state) {
$form['submit']['#submit'][] = 'apachesolr_search_build_spellcheck';
}