You are here

public function Facet::getKeepHierarchyParentsActive in Facets 8

Returns the value of the keep_hierarchy_parents_active boolean.

This will return true when the parent results of a hierarchical facet should be kept active when a child becomes active.

Return value

bool A boolean flag indicating if the parent results of a hierarchical facet should be kept active when a child becomes active.

Overrides FacetInterface::getKeepHierarchyParentsActive

File

src/Entity/Facet.php, line 562

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function getKeepHierarchyParentsActive() {
  return $this->keep_hierarchy_parents_active;
}