function apachesolr_autocomplete_form_apachesolr_search_custom_page_search_form_alter in Apache Solr Autocomplete 7.2
Implementation of hook_form_FORM_ID_alter().
File
- ./
apachesolr_autocomplete.module, line 44 - Alters search forms to suggest terms using Apache Solr using AJAX.
Code
function apachesolr_autocomplete_form_apachesolr_search_custom_page_search_form_alter(&$form, $form_state) {
$element =& $form['basic']['keys'];
$context_id = 'apachesolr_search_page:' . $form['#search_page']['page_id'];
apachesolr_autocomplete_do_alter($element, $form, $context_id);
}