function apachesolr_panels_search_block in Apache Solr Panels 7
Same name and namespace in other branches
- 6.3 apachesolr_panels.module \apachesolr_panels_search_block()
- 6 apachesolr_panels.module \apachesolr_panels_search_block()
Output a search form for the search block, based on core's search box.
2 string references to 'apachesolr_panels_search_block'
- apachesolr_panels_block_view in ./
apachesolr_panels.module - Implements hook_block_view().
- apachesolr_panels_forms in ./
apachesolr_panels.module - Implements hook_forms().
File
- ./
apachesolr_panels.module, line 80 - Integrates Apache Solr Search with Panels.
Code
function apachesolr_panels_search_block($form, &$form_state) {
$form = search_box($form, $form_state, 'apachesolr_panels_search_form');
$form['#submit'] = array(
'apachesolr_panels_search_block_form_submit',
);
return $form;
}