public function FacetInterface::setHierarchy in Facets 8
Sets the facet hierarchy definition.
Parameters
string $id: The hierarchy plugin id.
array $configuration: (optional) The facet hierarchy plugin configuration. When empty, the default plugin configuration will be used.
1 method overrides FacetInterface::setHierarchy()
- Facet::setHierarchy in src/
Entity/ Facet.php - Sets the facet hierarchy definition.
File
- src/
FacetInterface.php, line 50
Class
- FacetInterface
- The facet entity.
Namespace
Drupal\facetsCode
public function setHierarchy($id, array $configuration = NULL);