You are here

public function VocabularyStorageInterface::getToplevelTids in Drupal 8

Same name and namespace in other branches
  1. 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);