You are here

function apachesolr_save_enabled_facets in Apache Solr Search 6.2

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

Save the enabled facets for all modules.

Parameters

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

Return value

array 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 760
Integration with the Apache Solr search application.

Code

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