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

Returns the vocabulary hierarchy.

Return value

int The vocabulary hierarchy.

Overrides VocabularyInterface::getHierarchy

File

core/modules/taxonomy/src/Entity/Vocabulary.php, line 94

Class

Vocabulary
Defines the taxonomy vocabulary entity.

Namespace

Drupal\taxonomy\Entity

Code

public function getHierarchy() {
  return $this->hierarchy;
}