You are here

public function CshsOptionsFromHelper::getVocabularies in Client-side Hierarchical Select 8.3

Returns the taxonomy vocabularies to work with.

Return value

\Drupal\taxonomy\VocabularyInterface[] The taxonomy vocabularies.

2 calls to CshsOptionsFromHelper::getVocabularies()
CshsOptionsFromHelper::getOptions in src/CshsOptionsFromHelper.php
Returns the list of options for `cshs` element.
CshsTaxonomyIndex::valueForm in src/Plugin/views/filter/CshsTaxonomyIndex.php

File

src/CshsOptionsFromHelper.php, line 94

Class

CshsOptionsFromHelper
Defines a class for getting options for a cshs form element from vocabulary.

Namespace

Drupal\cshs

Code

public function getVocabularies() : array {
  return $this
    ->getVocabularyStorage()
    ->loadMultiple($this
    ->getVocabulariesIds());
}