class FacetapiFilterActiveItems in Facet API 7.2
Same name and namespace in other branches
- 6.3 plugins/facetapi/filter.inc \FacetapiFilterActiveItems
- 7 plugins/facetapi/filter.inc \FacetapiFilterActiveItems
Plugin that filters active items.
Hierarchy
- class \FacetapiFilter
- class \FacetapiFilterActiveItems
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FacetapiFilter:: |
protected | property | The adapter associated with facet being filtered. | |
FacetapiFilter:: |
protected | property | The machine name of the plugin associated with this instance. | |
FacetapiFilter:: |
protected | property | The facet settings. | |
FacetapiFilter:: |
public | function | Provides default values for the plugin settings. | |
FacetapiFilter:: |
public | function | Allows the plugin to add settings to the dependency form. | |
FacetapiFilter:: |
public | function | Constructs a FacetapiFilter object. | |
FacetapiFilterActiveItems:: |
public | function |
Implements FacetapiFilter::execute(). Overrides FacetapiFilter:: |