function facetapi_facet_enable in Facet API 6
Enables a facet in the passed realm.
Parameters
$searcher: A string containing the machine readable name of the searcher module.
$realm_name: A string containing the machine readable name of the realm. Passing NULL will enable the facet in all realms.
$facet_name: A string containing the machine readable name of the facet.
File
- ./
facetapi.module, line 727 - An abstracted facet API that can be used by various search backens.
Code
function facetapi_facet_enable($searcher, $realm_name, $facet_name) {
facetapi_facet_status_set($searcher, $realm_name, $facet_name, TRUE);
}