Same name and namespace in other branches
  1. 8.9.x core/modules/taxonomy/src/VocabularyStorageInterface.php \Drupal\taxonomy\VocabularyStorageInterface::getToplevelTids()
  2. 9 core/modules/taxonomy/src/VocabularyStorageInterface.php \Drupal\taxonomy\VocabularyStorageInterface::getToplevelTids()

Gets top-level term IDs of vocabularies.

Parameters

array $vids: Array of vocabulary IDs.

Return value

array Array of top-level term IDs.

1 method overrides VocabularyStorageInterface::getToplevelTids()
VocabularyStorage::getToplevelTids in core/modules/taxonomy/src/VocabularyStorage.php
Gets top-level term IDs of vocabularies.

File

core/modules/taxonomy/src/VocabularyStorageInterface.php, line 21

Class

VocabularyStorageInterface
Defines an interface for vocabulary entity storage classes.

Namespace

Drupal\taxonomy

Code

public function getToplevelTids($vids);