You are here

public function FacetapiFacet::getFacet in Facet API 6

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

Sets facet definition.

Return value

An array containing the facet definition.

File

./facetapi.adapter.inc, line 286
Defines classes used by the FacetAPI module.

Class

FacetapiFacet
Stores facet data, provides methods that build the facet's render array.

Code

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