public function Facet::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.
Overrides FacetInterface::setKeepHierarchyParentsActive
File
- src/
Entity/ Facet.php, line 555
Class
- Facet
- Defines the facet configuration entity.
Namespace
Drupal\facets\EntityCode
public function setKeepHierarchyParentsActive($keep_hierarchy_parents_active) {
return $this->keep_hierarchy_parents_active = $keep_hierarchy_parents_active;
}