You are here

function apachesolr_save_enabled_facets in Apache Solr Search 5.2

Same name and namespace in other branches
  1. 6 apachesolr.module \apachesolr_save_enabled_facets()
  2. 6.2 apachesolr.module \apachesolr_save_enabled_facets()

Save the enabled facets for all modules.

Parameters

$enabled: An array consisting of info for all enabled facets.

Return value

The array consisting of info for all enabled facets.

1 call to apachesolr_save_enabled_facets()
apachesolr_enabled_facets_form_submit in ./apachesolr.admin.inc
This is the submit handler for the active facets form.

File

./apachesolr.module, line 619
Integration with the Apache Solr search application.

Code

function apachesolr_save_enabled_facets($enabled) {
  variable_set('apachesolr_enabled_facets', $enabled);
  return $enabled;
}