You are here

constant TAXONOMY_HIERARCHY_DISABLED in Drupal 8

Denotes that no term in the vocabulary has a parent.

Deprecated

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

See also

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

File

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

Code

const TAXONOMY_HIERARCHY_DISABLED = 0;