You are here

public function FacetapiDependencyBundle::filterBundleFacets in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 plugins/facetapi/dependency_bundle.inc \FacetapiDependencyBundle::filterBundleFacets()
  2. 7 plugins/facetapi/dependency_bundle.inc \FacetapiDependencyBundle::filterBundleFacets()

Returns TRUE if the facet contains bundle information.

Parameters

array $facet: The facet definition beinf filtered.

Return value

A boolean flagging whether the item should remain in the array.

File

plugins/facetapi/dependency_bundle.inc, line 67
Performs a dependency check against the passed bundle.

Class

FacetapiDependencyBundle
Adds a dependency on bundle.

Code

public function filterBundleFacets($facet) {
  return !empty($facet['field api bundles']);
}