You are here

abstract public function CshsOptionsFromHelper::getVocabulary in Client-side Hierarchical Select 8

Same name and namespace in other branches
  1. 8.2 src/CshsOptionsFromHelper.php \Drupal\cshs\CshsOptionsFromHelper::getVocabulary()

Returns the taxonomy vocabulary to work with.

Return value

\Drupal\taxonomy\VocabularyInterface|null The taxonomy vocabulary.

2 calls to CshsOptionsFromHelper::getVocabulary()
CshsOptionsFromHelper::formElement in src/CshsOptionsFromHelper.php
Returns the form for a single widget.
CshsOptionsFromHelper::settingsForm in src/CshsOptionsFromHelper.php
Returns a form to configure settings.
2 methods override CshsOptionsFromHelper::getVocabulary()
CshsTaxonomyIndex::getVocabulary in src/Plugin/views/filter/CshsTaxonomyIndex.php
Returns the taxonomy vocabulary to work with.
CshsWidget::getVocabulary in src/Plugin/Field/FieldWidget/CshsWidget.php
Returns the taxonomy vocabulary to work with.

File

src/CshsOptionsFromHelper.php, line 84

Class

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

Namespace

Drupal\cshs

Code

public abstract function getVocabulary() : ?VocabularyInterface;