You are here

public function VocabularyStorageDecorator::getToplevelTids in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/Decorators/Config/VocabularyStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\VocabularyStorageDecorator::getToplevelTids()
  2. 8 webprofiler/src/Entity/Decorators/Config/VocabularyStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\VocabularyStorageDecorator::getToplevelTids()
  3. 8.2 webprofiler/src/Entity/Decorators/Config/VocabularyStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\VocabularyStorageDecorator::getToplevelTids()

Gets top-level term IDs of vocabularies.

Parameters

array $vids: Array of vocabulary IDs.

Return value

array Array of top-level term IDs.

Overrides VocabularyStorageInterface::getToplevelTids

File

webprofiler/src/Entity/Decorators/Config/VocabularyStorageDecorator.php, line 15

Class

VocabularyStorageDecorator
Class EntityStorageDecorator.

Namespace

Drupal\webprofiler\Entity\Decorators\Config

Code

public function getToplevelTids($vids) {
  return $this
    ->getOriginalObject()
    ->getToplevelTids($vids);
}