You are here

function hook_facetapi_facets_alter in Facet API 6

Allows modules to alter the built facets prior to being returned by facetapi_realm_build().

Parameters

$build: An array containing the build facet.

$adapter: A FacetapiAdapter object containing the adapter.

$realm: An array containing the full realm definition.

1 function implements hook_facetapi_facets_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

facetapi_facetapi_facets_alter in ./facetapi.module
Implementation of hook_facetapi_facets_alter().
1 invocation of hook_facetapi_facets_alter()
facetapi_realm_build in ./facetapi.module
Builds a facet realm, in other words converts the facet values to some normalized value.

File

./facetapi.api.inc, line 162
Defines and gives example implementations of all Facet API hooks.

Code

function hook_facetapi_facets_alter(&$build, FacetapiAdapter $adapter, array $realm) {
}