You are here

function hook_facetapi_facet_QUERY_TYPE_build in Facet API 6

Gets facet data from the backend and returns an initialized render array of facet items.

Parameters

$adapter: A FacetapiAdapter object containing the adapter.

$facet: An array containing the full realm definition.

&$data:

Return value

An initialized render array of facet itmes.

2 functions implement hook_facetapi_facet_QUERY_TYPE_build()

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_date_build in contrib/facetapi_apachesolr/facetapi_apachesolr.module
Implementation of hook_facetapi_facet_QUERY_TYPE_build().
facetapi_apachesolr_facetapi_facet_term_build in contrib/facetapi_apachesolr/facetapi_apachesolr.module
Implementation of hook_facetapi_facet_QUERY_TYPE_build().

File

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

Code

function hook_facetapi_facet_QUERY_TYPE_build(FacetapiAdapter $adapter, array $facet) {
}