1. 8.2.x core/modules/taxonomy/src/VocabularyInterface.php VocabularyInterface::HIERARCHY_DISABLED
  2. 8.3.x core/modules/taxonomy/src/VocabularyInterface.php VocabularyInterface::HIERARCHY_DISABLED

Denotes that no term in the vocabulary has a parent.

5 uses of VocabularyInterface::HIERARCHY_DISABLED
MigrateTaxonomyVocabularyTest::testTaxonomyVocabulary in core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyVocabularyTest.php
Tests the Drupal 7 taxonomy vocabularies to Drupal 8 migration.
OverviewTerms::submitForm in core/modules/taxonomy/src/Form/OverviewTerms.php
Form submission handler.
taxonomy_check_vocabulary_hierarchy in core/modules/taxonomy/taxonomy.module
Checks and updates the hierarchy flag of a vocabulary.
taxonomy_help in core/modules/taxonomy/taxonomy.module
Implements hook_help().
Vocabulary.php in core/modules/taxonomy/src/Entity/Vocabulary.php

File

core/modules/taxonomy/src/VocabularyInterface.php, line 15

Class

VocabularyInterface
Provides an interface defining a taxonomy vocabulary entity.

Namespace

Drupal\taxonomy

Code

const HIERARCHY_DISABLED = 0;