public TermStorageInterface::updateTermHierarchy(EntityInterface $term)
Updates terms hierarchy information with the hierarchy trail of it.
Parameters
\Drupal\Core\Entity\EntityInterface $term: Term entity that needs to be added to term hierarchy information.
File
- core/modules/taxonomy/src/TermStorageInterface.php, line 27
Class
- TermStorageInterface
- Defines an interface for taxonomy_term entity storage classes.
Namespace
Drupal\taxonomy
Code
public function updateTermHierarchy(EntityInterface $term);
Please login to continue.