You are here

constant TAXONOMY_HIERARCHY_SINGLE in Drupal 8

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

Deprecated

in drupal:8.2.0 and is removed from drupal:9.0.0. Use \Drupal\taxonomy\VocabularyInterface::HIERARCHY_SINGLE instead.

See also

https://www.drupal.org/node/2807795

File

core/modules/taxonomy/taxonomy.module, line 37
Enables the organization of content into categories.

Code

const TAXONOMY_HIERARCHY_SINGLE = 1;