You are here

function hook_facetapi_facet_info_alter in Facet API 6

Same name and namespace in other branches
  1. 6.3 facetapi.api.php \hook_facetapi_facet_info_alter()
  2. 7.2 facetapi.api.php \hook_facetapi_facet_info_alter()
  3. 7 facetapi.api.php \hook_facetapi_facet_info_alter()

Allows modules to alter the facet definitions.

Parameters

&$facets: An array of facet definitions.

$searcher: A string containing the machine readable name of the searcher module.

$type: A string containing the type of content $searcher indexes.

2 functions implement hook_facetapi_facet_info_alter()

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

facetapi_apachesolr_facetapi_facet_info_alter in contrib/facetapi_apachesolr/facetapi_apachesolr.module
Implementation of hook_facetapi_facet_info_alter().
facetapi_luceneapi_facetapi_facet_info_alter in contrib/facetapi_luceneapi/facetapi_luceneapi.module
Implementation of hook_facetapi_facet_info_alter().
1 invocation of hook_facetapi_facet_info_alter()
facetapi_facets_get in ./facetapi.module
Invokes hook_facetapi_facet_info(), returns all defined facets.

File

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

Code

function hook_facetapi_facet_info_alter(array &$facets, $searcher, $type) {
}