function TermStorageInterface::deleteTermHierarchy

Same name in other branches
  1. 9 core/modules/taxonomy/src/TermStorageInterface.php \Drupal\taxonomy\TermStorageInterface::deleteTermHierarchy()
  2. 8.9.x core/modules/taxonomy/src/TermStorageInterface.php \Drupal\taxonomy\TermStorageInterface::deleteTermHierarchy()

Removed reference to terms from term_hierarchy.

Parameters

array $tids: Array of terms that need to be removed from hierarchy.

Deprecated

in drupal:10.1.0 and is removed from drupal:11.0.0. Parent references are automatically cleared when deleting a taxonomy term.

See also

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

1 method overrides TermStorageInterface::deleteTermHierarchy()
TermStorage::deleteTermHierarchy in core/modules/taxonomy/src/TermStorage.php
Removed reference to terms from term_hierarchy.

File

core/modules/taxonomy/src/TermStorageInterface.php, line 24

Class

TermStorageInterface
Defines an interface for taxonomy_term entity storage classes.

Namespace

Drupal\taxonomy

Code

public function deleteTermHierarchy($tids);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.