You are here

function apachesolr_autocomplete_variable_get_suggest_spellcheck in Apache Solr Autocomplete 7

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

Wrapper around variable_get() for variable apachesolr_autocomplete_suggest_spellcheck.

3 calls to apachesolr_autocomplete_variable_get_suggest_spellcheck()
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 640
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_suggest_spellcheck() {
  return variable_get('apachesolr_autocomplete_suggest_spellcheck', 1);
}