You are here

function apachesolr_autocomplete_variable_get_widget in Apache Solr Autocomplete 7

Same name and namespace in other branches
  1. 6 apachesolr_autocomplete.module \apachesolr_autocomplete_variable_get_widget()

Wrapper around variable_get() for variable apachesolr_autocomplete_widget.

4 calls to apachesolr_autocomplete_variable_get_widget()
apachesolr_autocomplete_callback in ./apachesolr_autocomplete.module
Callback for url apachesolr_autocomplete/autocomplete.
apachesolr_autocomplete_do_alter in ./apachesolr_autocomplete.module
Helper function to do the actual altering of search forms.
apachesolr_autocomplete_form_apachesolr_settings_alter in ./apachesolr_autocomplete.module
Alter the apachesolr.module "advanced settings" form.
apachesolr_autocomplete_init in ./apachesolr_autocomplete.module
Implementation of hook_init().

File

./apachesolr_autocomplete.module, line 626
Alters search forms to suggest terms using Apache Solr using AJAX. Thanks to: robertDouglass who contributed some of the code. sch4lly for contributing to D7 version

Code

function apachesolr_autocomplete_variable_get_widget() {
  return variable_get('apachesolr_autocomplete_widget', 'jqueryui');
}