function apachesolr_search_form_search_block_form_alter in Apache Solr Search 8
Same name and namespace in other branches
- 6.3 apachesolr_search.module \apachesolr_search_form_search_block_form_alter()
- 6 apachesolr_search.module \apachesolr_search_form_search_block_form_alter()
- 6.2 apachesolr_search.module \apachesolr_search_form_search_block_form_alter()
- 7 apachesolr_search.module \apachesolr_search_form_search_block_form_alter()
File
- ./
apachesolr_search.module, line 1526 - Provides a content search implementation for node content for use with the Apache Solr search application.
Code
function apachesolr_search_form_search_block_form_alter(&$form, $form_state) {
if (variable_get('search_default_module') == 'apachesolr_search') {
$form['#submit'][] = 'apachesolr_search_form_search_submit';
}
}