You are here

public function Facet::getHierarchyManager in Facets 8

Returns the hierarchy plugin manager.

Return value

\Drupal\facets\Hierarchy\HierarchyPluginManager The hierarchy plugin manager.

File

src/Entity/Facet.php, line 324

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function getHierarchyManager() {
  return $this->hierarchy_manager ?: \Drupal::service('plugin.manager.facets.hierarchy');
}