You are here

public function MongodbTermStorage::loadAllParents in MongoDB 8

Finds all ancestors of a given term ID.

Parameters

int $tid: Term ID to retrieve ancestors for.

Return value

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

Overrides TermStorageInterface::loadAllParents

File

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

Class

MongodbTermStorage

Namespace

Drupal\mongodb_taxonomy

Code

public function loadAllParents($tid) {
  return [];
}