You are here

public function Facet::setExpandHierarchy in Facets 8

Sets the expand_hierarchy.

Parameters

bool $expand_hierarchy: Wether or not results should always be expanded using hierarchy.

Overrides FacetInterface::setExpandHierarchy

File

src/Entity/Facet.php, line 569

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function setExpandHierarchy($expand_hierarchy) {
  return $this->expand_hierarchy = $expand_hierarchy;
}