VocabularyStorageInterface.php

Same filename and directory in other branches
  1. 9 core/modules/taxonomy/src/VocabularyStorageInterface.php
  2. 8.9.x core/modules/taxonomy/src/VocabularyStorageInterface.php
  3. 10 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

Title Deprecated Summary
VocabularyStorageInterface Defines an interface for vocabulary entity storage classes.

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