You are here

public function MongodbTermStorage::getNodeTerms in MongoDB 8

Returns all terms used to tag some given nodes.

Parameters

array $nids: Node IDs to retrieve terms for.

array $vocabs: (optional) A vocabularies array to restrict the term search. Defaults to empty array.

string $langcode: (optional) A language code to restrict the term search. Defaults to NULL.

Return value

array An array of nids and the term entities they were tagged with.

Overrides TermStorageInterface::getNodeTerms

File

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

Class

MongodbTermStorage

Namespace

Drupal\mongodb_taxonomy

Code

public function getNodeTerms($nids, $vocabs = array(), $langcode = NULL) {
  return [];
}