You are here

public function TermStorage::deleteTermHierarchy in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::deleteTermHierarchy()
  2. 9 core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::deleteTermHierarchy()

Removed reference to terms from term_hierarchy.

@todo Remove this method in Drupal 9.0.x. Now the parent references are automatically cleared when deleting a taxonomy term. https://www.drupal.org/node/2785693

Parameters

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

Overrides TermStorageInterface::deleteTermHierarchy

File

core/modules/taxonomy/src/TermStorage.php, line 95

Class

TermStorage
Defines a Controller class for taxonomy terms.

Namespace

Drupal\taxonomy

Code

public function deleteTermHierarchy($tids) {
}