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
1 2 3 4 5 | public function deleteTermHierarchy( $tids ) { $this ->database-> delete ( 'taxonomy_term_hierarchy' ) ->condition( 'tid' , $tids , 'IN' ) ->execute(); } |
Please login to continue.