function TermStorageInterface::deleteTermHierarchy
Same name in other branches
- 8.9.x core/modules/taxonomy/src/TermStorageInterface.php \Drupal\taxonomy\TermStorageInterface::deleteTermHierarchy()
- 10 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\taxonomyCode
public function deleteTermHierarchy($tids);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.