1. 8.3.x core/modules/taxonomy/src/VocabularyInterface.php VocabularyInterface::HIERARCHY_SINGLE
  2. 8.2.x core/modules/taxonomy/src/VocabularyInterface.php VocabularyInterface::HIERARCHY_SINGLE
  3. 8.4.x core/modules/taxonomy/src/VocabularyInterface.php VocabularyInterface::HIERARCHY_SINGLE

Denotes that one or more terms in the vocabulary has a single parent.

6 uses of VocabularyInterface::HIERARCHY_SINGLE
forum_form_taxonomy_vocabulary_form_alter in core/modules/forum/forum.module
Implements hook_form_BASE_FORM_ID_alter() for \Drupal\taxonomy\VocabularyForm.
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().

... See full list

File

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

Class

VocabularyInterface
Provides an interface defining a taxonomy vocabulary entity.

Namespace

Drupal\taxonomy

Code

const HIERARCHY_SINGLE = 1;