public function MongodbTermStorage::loadParents in MongoDB 8
Finds all parents of a given term ID.
Parameters
int $tid: Term ID to retrieve parents for.
Return value
\Drupal\taxonomy\TermInterface[] An array of term objects which are the parents of the term $tid.
Overrides TermStorageInterface::loadParents
File
- mongodb_taxonomy/
src/ MongodbTermStorage.php, line 46 - Contains \Drupal\mongodb_taxonomy\MongodbTermStorage.
Class
Namespace
Drupal\mongodb_taxonomyCode
public function loadParents($tid) {
return [];
}