You are here

public function MongodbTermStorage::nodeCount in MongoDB 8

Count the number of nodes in a given vocabulary ID.

Parameters

string $vid: Vocabulary ID to retrieve terms for.

Return value

int A count of the nodes in a given vocabulary ID.

Overrides TermStorageInterface::nodeCount

File

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

Class

MongodbTermStorage

Namespace

Drupal\mongodb_taxonomy

Code

public function nodeCount($vid) {

  // TODO: Implement nodeCount() method.
}