You are here

public function TermStorageInterface::deleteTermHierarchy in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/src/TermStorageInterface.php \Drupal\taxonomy\TermStorageInterface::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.

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 23

Class

TermStorageInterface
Defines an interface for taxonomy_term entity storage classes.

Namespace

Drupal\taxonomy

Code

public function deleteTermHierarchy($tids);