You are here

public function MongodbTermStorage::loadChildren in MongoDB 8

Finds all children of a term ID.

Parameters

int $tid: Term ID to retrieve parents for.

string $vid: An optional vocabulary ID to restrict the child search.

Return value

\Drupal\taxonomy\TermInterface[] An array of term objects that are the children of the term $tid.

Overrides TermStorageInterface::loadChildren

File

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

Class

MongodbTermStorage

Namespace

Drupal\mongodb_taxonomy

Code

public function loadChildren($tid, $vid = NULL) {
  return [];
}