The type of hierarchy allowed within the vocabulary.
Possible values:
- VocabularyInterface::HIERARCHY_DISABLED: No parents.
- VocabularyInterface::HIERARCHY_SINGLE: Single parent.
- VocabularyInterface::HIERARCHY_MULTIPL: Multiple parents.
Type: int
File
- core/modules/taxonomy/src/Entity/Vocabulary.php, line 82
Class
- Vocabulary
- Defines the taxonomy vocabulary entity.
Namespace
Drupal\taxonomy\Entity
Code
protected $hierarchy = VocabularyInterface::HIERARCHY_DISABLED;
Please login to continue.