function apachesolr_autocomplete_form_search_block_form_alter in Apache Solr Autocomplete 6
Same name and namespace in other branches
- 7.2 apachesolr_autocomplete.module \apachesolr_autocomplete_form_search_block_form_alter()
Implementation of hook_form_FORM_ID_alter().
File
- ./
apachesolr_autocomplete.module, line 39 - Alters search forms to suggest terms using Apache Solr using AJAX. Thanks to robertDouglass who contributed some of the code.
Code
function apachesolr_autocomplete_form_search_block_form_alter(&$form, $form_state) {
$element =& $form['search_block_form'];
apachesolr_autocomplete_do_alter($element);
}