TermStorageInterface::updateTermHierarchy

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);
doc_Drupal
2016-10-29 09:47:26
Comments
Leave a Comment

Please login to continue.