You are here

VocabularyStorageInterface.php in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/taxonomy/src/VocabularyStorageInterface.php

Namespace

Drupal\taxonomy

File

core/modules/taxonomy/src/VocabularyStorageInterface.php
View source
<?php

namespace Drupal\taxonomy;

use Drupal\Core\Config\Entity\ConfigEntityStorageInterface;

/**
 * Defines an interface for vocabulary entity storage classes.
 */
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);

}

Interfaces

Namesort descending Description
VocabularyStorageInterface Defines an interface for vocabulary entity storage classes.