public function Facet::setUseHierarchy in Facets 8
Sets the use_hierarchy.
Parameters
bool $use_hierarchy: A boolean flag indicating if results should be rendered using hierarchy.
Overrides FacetInterface::setUseHierarchy
File
- src/
Entity/ Facet.php, line 541
Class
- Facet
- Defines the facet configuration entity.
Namespace
Drupal\facets\EntityCode
public function setUseHierarchy($use_hierarchy) {
return $this->use_hierarchy = $use_hierarchy;
}