public function CshsTaxonomyIndex::getVocabulary in Client-side Hierarchical Select 8
Same name and namespace in other branches
- 8.2 src/Plugin/views/filter/CshsTaxonomyIndex.php \Drupal\cshs\Plugin\views\filter\CshsTaxonomyIndex::getVocabulary()
Returns the taxonomy vocabulary to work with.
Return value
\Drupal\taxonomy\VocabularyInterface|null The taxonomy vocabulary.
Overrides CshsOptionsFromHelper::getVocabulary
1 call to CshsTaxonomyIndex::getVocabulary()
- CshsTaxonomyIndex::valueForm in src/
Plugin/ views/ filter/ CshsTaxonomyIndex.php
File
- src/
Plugin/ views/ filter/ CshsTaxonomyIndex.php, line 130
Class
- CshsTaxonomyIndex
- Common implementation for "CshsTaxonomyIndex" plugin.
Namespace
Drupal\cshs\Plugin\views\filterCode
public function getVocabulary() : ?VocabularyInterface {
return $this->vocabularyStorage
->load($this->options['vid']);
}