public function TermStorage::deleteTermHierarchy in Drupal 8
Same name and namespace in other branches
- 9 core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::deleteTermHierarchy()
- 10 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 96
Class
- TermStorage
- Defines a Controller class for taxonomy terms.
Namespace
Drupal\taxonomyCode
public function deleteTermHierarchy($tids) {
}