You are here

function apachesolr_autocomplete_variable_get_suggest_keywords in Apache Solr Autocomplete 6

Same name and namespace in other branches
  1. 7 apachesolr_autocomplete.module \apachesolr_autocomplete_variable_get_suggest_keywords()

Wrapper around variable_get() for variable apachesolr_autocomplete_suggest_keywords.

3 calls to apachesolr_autocomplete_variable_get_suggest_keywords()
apachesolr_autocomplete_callback in ./apachesolr_autocomplete.module
Callback for url apachesolr_autocomplete/autocomplete.
apachesolr_autocomplete_form_apachesolr_settings_alter in ./apachesolr_autocomplete.module
Alter the apachesolr.module "advanced settings" form.
apachesolr_autocomplete_suggest_additional_term in ./apachesolr_autocomplete.module
Helper function that suggests additional terms to search for.

File

./apachesolr_autocomplete.module, line 473
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_suggest_keywords() {
  return variable_get('apachesolr_autocomplete_suggest_keywords', 1);
}