TermStorage::$vocabularyHierarchyType
Same name in other branches
- 9 core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::vocabularyHierarchyType
- 8.9.x core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::vocabularyHierarchyType
- 11.x core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::vocabularyHierarchyType
The type of hierarchy allowed within a vocabulary.
Possible values:
- VocabularyInterface::HIERARCHY_DISABLED: No parents.
- VocabularyInterface::HIERARCHY_SINGLE: Single parent.
- VocabularyInterface::HIERARCHY_MULTIPLE: Multiple parents.
An array of one the possible values above, keyed by vocabulary ID.
Type: int[]
File
-
core/
modules/ taxonomy/ src/ TermStorage.php, line 60
Class
- TermStorage
- Defines a Controller class for taxonomy terms.
Namespace
Drupal\taxonomyCode
protected $vocabularyHierarchyType;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.