You are here

function facetapi_facet_disable in Facet API 6

Disables 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 disable the facet in all realms.

$facet_name: A string containing the machine readable name of the facet.

File

./facetapi.module, line 742
An abstracted facet API that can be used by various search backens.

Code

function facetapi_facet_disable($searcher, $realm_name, $facet_name) {
  facetapi_facet_status_set($searcher, $realm_name, $facet_name, FALSE);
}