function VocabularyStorageInterface::getToplevelTids
Same name in other branches
- 9 core/modules/taxonomy/src/VocabularyStorageInterface.php \Drupal\taxonomy\VocabularyStorageInterface::getToplevelTids()
- 10 core/modules/taxonomy/src/VocabularyStorageInterface.php \Drupal\taxonomy\VocabularyStorageInterface::getToplevelTids()
- 11.x 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\taxonomyCode
public function getToplevelTids($vids);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.