You are here

public function FacetapiFacet::getFacet in Facet API 7.2

Same name and namespace in other branches
  1. 6.3 plugins/facetapi/adapter.inc \FacetapiFacet::getFacet()
  2. 6 facetapi.adapter.inc \FacetapiFacet::getFacet()
  3. 7 plugins/facetapi/adapter.inc \FacetapiFacet::getFacet()

Returns the facet definition as returned by facetapi_facet_load().

Return value

array An array containing the facet definition.

File

plugins/facetapi/adapter.inc, line 1220
Adapter plugin and adapter related classes.

Class

FacetapiFacet
Wrapper around the facet definition with methods that build render arrays.

Code

public function getFacet() {
  return $this->facet;
}