class FacetapiFilterActiveItems in Facet API 6.3
Same name and namespace in other branches
- 7.2 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 80 - Base filter class and implementation.
View source
class FacetapiFilterActiveItems extends FacetapiFilter {
/**
* Filters active facet items.
*/
public function execute(array $build) {
return array_filter($build, 'facetapi_filter_active');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FacetapiFilter:: |
protected | property | The adapter object. | |
FacetapiFilter:: |
protected | property | The ID of this plugin. | |
FacetapiFilter:: |
protected | property | The facet settings. | |
FacetapiFilter:: |
public | function | Returns default settings added to the settings form. | |
FacetapiFilter:: |
public | function | Adds settings to the filter form. | |
FacetapiFilter:: |
public | function | Initializes the filter object. | |
FacetapiFilterActiveItems:: |
public | function |
Filters active facet items. Overrides FacetapiFilter:: |