function TermStorageInterface::getVocabularyHierarchyType

Same name in other branches
  1. 9 core/modules/taxonomy/src/TermStorageInterface.php \Drupal\taxonomy\TermStorageInterface::getVocabularyHierarchyType()
  2. 8.9.x core/modules/taxonomy/src/TermStorageInterface.php \Drupal\taxonomy\TermStorageInterface::getVocabularyHierarchyType()
  3. 11.x core/modules/taxonomy/src/TermStorageInterface.php \Drupal\taxonomy\TermStorageInterface::getVocabularyHierarchyType()

Returns the hierarchy type for a specific vocabulary ID.

Parameters

string $vid: Vocabulary ID to retrieve the hierarchy type for.

Return value

int The vocabulary hierarchy. Possible values:

1 method overrides TermStorageInterface::getVocabularyHierarchyType()
TermStorage::getVocabularyHierarchyType in core/modules/taxonomy/src/TermStorage.php

File

core/modules/taxonomy/src/TermStorageInterface.php, line 145

Class

TermStorageInterface
Defines an interface for taxonomy_term entity storage classes.

Namespace

Drupal\taxonomy

Code

public function getVocabularyHierarchyType($vid);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.