function current_search_get_default_searcher in Facet API 6.3
Same name and namespace in other branches
- 7.2 contrib/current_search/current_search.block.inc \current_search_get_default_searcher()
- 7 contrib/current_search/current_search.block.inc \current_search_get_default_searcher()
Gets the default searcher.
@todo Figure out a beter default system.
Return value
The default searcher.
3 calls to current_search_get_default_searcher()
- current_search_check_visibility in contrib/
current_search/ current_search.block.inc - Checks whether the block should be displayed.
- current_search_form_block_admin_configure_alter in contrib/
current_search/ current_search.block.inc - Implements hook_form_FORM_ID_alter().
- current_search_settings_form in contrib/
current_search/ plugins/ export_ui/ current_search_export_ui.class.php - Define the preset add/edit form.
File
- contrib/
current_search/ current_search.block.inc, line 249 - Block hook implementations and block form alterations.
Code
function current_search_get_default_searcher() {
$options = current_search_get_searcher_options();
return key($options);
}