You are here

public function CshsTaxonomyIndex::buildExtraOptionsForm in Client-side Hierarchical Select 8.3

Same name and namespace in other branches
  1. 8 src/Plugin/views/filter/CshsTaxonomyIndex.php \Drupal\cshs\Plugin\views\filter\CshsTaxonomyIndex::buildExtraOptionsForm()
  2. 8.2 src/Plugin/views/filter/CshsTaxonomyIndex.php \Drupal\cshs\Plugin\views\filter\CshsTaxonomyIndex::buildExtraOptionsForm()

File

src/Plugin/views/filter/CshsTaxonomyIndex.php, line 57

Class

CshsTaxonomyIndex
The common implementation for the `CshsTaxonomyIndex` plugin.

Namespace

Drupal\cshs\Plugin\views\filter

Code

public function buildExtraOptionsForm(&$form, FormStateInterface $form_state) : void {
  parent::buildExtraOptionsForm($form, $form_state);
  $form['type']['#options'] += [
    CshsElement::ID => $this
      ->t('Client-side Hierarchical Select'),
  ];
}