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