You are here

public function MongodbTermStorage::updateTermHierarchy in MongoDB 8

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.

Overrides TermStorageInterface::updateTermHierarchy

File

mongodb_taxonomy/src/MongodbTermStorage.php, line 33
Contains \Drupal\mongodb_taxonomy\MongodbTermStorage.

Class

MongodbTermStorage

Namespace

Drupal\mongodb_taxonomy

Code

public function updateTermHierarchy(EntityInterface $term) {

  // TODO: Implement updateTermHierarchy() method.
}