You are here

public function Vocabulary::getHierarchy in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/taxonomy/src/Entity/Vocabulary.php \Drupal\taxonomy\Entity\Vocabulary::getHierarchy()

Returns the vocabulary hierarchy.

Return value

integer The vocabulary hierarchy.

Overrides VocabularyInterface::getHierarchy

File

core/modules/taxonomy/src/Entity/Vocabulary.php, line 99
Contains \Drupal\taxonomy\Entity\Vocabulary.

Class

Vocabulary
Defines the taxonomy vocabulary entity.

Namespace

Drupal\taxonomy\Entity

Code

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