You are here

public function FacetapiFilterActiveItems::execute in Facet API 7.2

Same name and namespace in other branches
  1. 6.3 plugins/facetapi/filter.inc \FacetapiFilterActiveItems::execute()
  2. 7 plugins/facetapi/filter.inc \FacetapiFilterActiveItems::execute()

Implements FacetapiFilter::execute().

Overrides FacetapiFilter::execute

File

plugins/facetapi/filter.inc, line 113
Base filter class and core implementations.

Class

FacetapiFilterActiveItems
Plugin that filters active items.

Code

public function execute(array $build) {
  return array_filter($build, 'facetapi_filter_active');
}