You are here

public function FacetapiQueryTypeInterface::extract in Facet API 7

Adds additional information to the array active items.

Active facet items are stored in the FacetapiAdapter::activeItems property as associative arrays. See the docblock for the structure. Queries such as ranges can add additional info such as the "start" and "end" values for more efficient processing of facet data.

Parameters

array $item: The active item. See FacetapiAdapter::activeItems for the structure of the active item array.

Return value

array An associative array addition information to add to the active item.

File

plugins/facetapi/query_type.inc, line 66
Interfaces and base classes for query type plugins.

Class

FacetapiQueryTypeInterface
Interface implemented by all query type plugins.

Code

public function extract(array $item);