TermStorageInterface::nodeCount

public TermStorageInterface::nodeCount($vid)

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.

File

core/modules/taxonomy/src/TermStorageInterface.php, line 95

Class

TermStorageInterface
Defines an interface for taxonomy_term entity storage classes.

Namespace

Drupal\taxonomy

Code

public function nodeCount($vid);
doc_Drupal
2016-10-29 09:47:26
Comments
Leave a Comment

Please login to continue.