You are here

function apachesolr_autocomplete_variable_get_counts in Apache Solr Autocomplete 6

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

Wrapper around variable_get() for variable apachesolr_autocomplete_counts.

2 calls to apachesolr_autocomplete_variable_get_counts()
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.

File

./apachesolr_autocomplete.module, line 487
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_counts() {
  return variable_get('apachesolr_autocomplete_counts', TRUE);
}