interface VocabularyStorageInterface

Same name and namespace in other branches
  1. 11.x core/modules/taxonomy/src/VocabularyStorageInterface.php \Drupal\taxonomy\VocabularyStorageInterface

Defines an interface for vocabulary entity storage classes.

Hierarchy

Expanded class hierarchy of VocabularyStorageInterface

All classes that implement VocabularyStorageInterface

6 files declare their use of VocabularyStorageInterface
ForumController.php in core/modules/forum/src/Controller/ForumController.php
NodeTermData.php in core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php
TaxonomyIndexTid.php in core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php
TaxonomyIndexTid.php in core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php
Tid.php in core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php

... See full list

File

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

Namespace

Drupal\taxonomy
View source
interface VocabularyStorageInterface extends ConfigEntityStorageInterface {
  
  /**
   * Gets top-level term IDs of vocabularies.
   *
   * @param array $vids
   *   Array of vocabulary IDs.
   *
   * @return array
   *   Array of top-level term IDs.
   */
  public function getToplevelTids($vids);

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.