Vocabulary::$hierarchy

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;
doc_Drupal
2016-10-29 09:56:14
Comments
Leave a Comment

Please login to continue.