You are here

function apachesolr_autocomplete_variable_get_widget in Apache Solr Autocomplete 6

Same name and namespace in other branches
  1. 7 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 466
Alters search forms to suggest terms using Apache Solr using AJAX. Thanks to robertDouglass who contributed some of the code.

Code

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