8.3.x VocabularyInterface.php public VocabularyInterface::getHierarchy()
8.0.x VocabularyInterface.php public VocabularyInterface::getHierarchy()
8.1.x VocabularyInterface.php public VocabularyInterface::getHierarchy()
8.2.x VocabularyInterface.php public VocabularyInterface::getHierarchy()
8.4.x VocabularyInterface.php public VocabularyInterface::getHierarchy()

Returns the vocabulary hierarchy.

Return value

int The vocabulary hierarchy.

1 method overrides VocabularyInterface::getHierarchy()
Vocabulary::getHierarchy in core/modules/taxonomy/src/Entity/Vocabulary.php
Returns the vocabulary hierarchy.

File

core/modules/taxonomy/src/VocabularyInterface.php, line 33

Class

VocabularyInterface
Provides an interface defining a taxonomy vocabulary entity.

Namespace

Drupal\taxonomy

Code

public function getHierarchy();