public TermStorage::deleteTermHierarchy($tids)
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 96
Class
- TermStorage
- Defines a Controller class for taxonomy terms.
Namespace
Drupal\taxonomy
Code
public function deleteTermHierarchy($tids) { $this->database->delete('taxonomy_term_hierarchy') ->condition('tid', $tids, 'IN') ->execute(); }
Please login to continue.