public function FacetapiFacetProcessor::getActiveItems in Facet API 7
Same name and namespace in other branches
- 6.3 plugins/facetapi/adapter.inc \FacetapiFacetProcessor::getActiveItems()
- 7.2 plugins/facetapi/adapter.inc \FacetapiFacetProcessor::getActiveItems()
Helper function to get the facet's active items.
Return value
array The facet's active items. See the FacetapiAdapter::getActiveItems() return value for the structure of the array.
See also
FacetapiAdapter::getActiveItems()
1 call to FacetapiFacetProcessor::getActiveItems()
- FacetapiFacetProcessor::mapValues in plugins/
facetapi/ adapter.inc - Maps the IDs to human readable values via the facet's mapping callback.
File
- plugins/
facetapi/ adapter.inc, line 1434 - Adapter plugin and adapter related classes.
Class
- FacetapiFacetProcessor
- Builds base render array used as a starting point for rendering.
Code
public function getActiveItems() {
return $this->facet
->getAdapter()
->getActiveItems($this->facet
->getFacet());
}