function TermStorage::deleteTermHierarchy
Removed reference to terms from term_hierarchy.
Parameters
array $tids: Array of terms that need to be removed from hierarchy.
Overrides TermStorageInterface::deleteTermHierarchy
File
- 
              core/
modules/ taxonomy/ src/ TermStorage.php, line 94  
Class
- TermStorage
 - Defines a Controller class for taxonomy terms.
 
Namespace
Drupal\taxonomyCode
public function deleteTermHierarchy($tids) {
  @trigger_error(__METHOD__ . '() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. It is a no-op since 8.6.0. Parent references are automatically cleared when deleting a taxonomy term. See https://www.drupal.org/node/2936675', E_USER_DEPRECATED);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.