You are here

class FacetapiFilterActiveItems in Facet API 7.2

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

Plugin that filters active items.

Hierarchy

Expanded class hierarchy of FacetapiFilterActiveItems

2 string references to 'FacetapiFilterActiveItems'
facetapi_facetapi_filters in ./facetapi.facetapi.inc
Implements hook_facetapi_filters().
hook_facetapi_filters in ./facetapi.api.php
Define all filter plugins provided by the module.

File

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

View source
class FacetapiFilterActiveItems extends FacetapiFilter {

  /**
   * Implements FacetapiFilter::execute().
   */
  public function execute(array $build) {
    return array_filter($build, 'facetapi_filter_active');
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FacetapiFilter::$adapter protected property The adapter associated with facet being filtered.
FacetapiFilter::$id protected property The machine name of the plugin associated with this instance.
FacetapiFilter::$settings protected property The facet settings.
FacetapiFilter::getDefaultSettings public function Provides default values for the plugin settings.
FacetapiFilter::settingsForm public function Allows the plugin to add settings to the dependency form.
FacetapiFilter::__construct public function Constructs a FacetapiFilter object.
FacetapiFilterActiveItems::execute public function Implements FacetapiFilter::execute(). Overrides FacetapiFilter::execute