Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

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.
RSS feed
Powered by Drupal