You are here

public function FacetInterface::getHierarchy in Facets 8

Returns the facet hierarchy definition.

Return value

array An associative array with the following structure:

  • id: The hierarchy plugin id as a string.
  • config: The widget configuration as an array.
1 method overrides FacetInterface::getHierarchy()
Facet::getHierarchy in src/Entity/Facet.php
Returns the facet hierarchy definition.

File

src/FacetInterface.php, line 60

Class

FacetInterface
The facet entity.

Namespace

Drupal\facets

Code

public function getHierarchy();