You are here

public function FacetInterface::setKeepHierarchyParentsActive in Facets 8

Sets the keep_hierarchy_parents_active.

Parameters

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

1 method overrides FacetInterface::setKeepHierarchyParentsActive()
Facet::setKeepHierarchyParentsActive in src/Entity/Facet.php
Sets the keep_hierarchy_parents_active.

File

src/FacetInterface.php, line 264

Class

FacetInterface
The facet entity.

Namespace

Drupal\facets

Code

public function setKeepHierarchyParentsActive($keep_hierarchy_parents_active);