You are here

public function ShsChosenTaxonomyIndexTid::buildExtraOptionsForm in Simple hierarchical select 8

Same name and namespace in other branches
  1. 2.0.x modules/shs_chosen/src/Plugin/views/filter/ShsChosenTaxonomyIndexTid.php \Drupal\shs_chosen\Plugin\views\filter\ShsChosenTaxonomyIndexTid::buildExtraOptionsForm()

Provide a form for setting options.

Overrides ShsTaxonomyIndexTid::buildExtraOptionsForm

1 call to ShsChosenTaxonomyIndexTid::buildExtraOptionsForm()
ShsChosenTaxonomyIndexTidDepth::buildExtraOptionsForm in modules/shs_chosen/src/Plugin/views/filter/ShsChosenTaxonomyIndexTidDepth.php
Provide a form for setting options.
1 method overrides ShsChosenTaxonomyIndexTid::buildExtraOptionsForm()
ShsChosenTaxonomyIndexTidDepth::buildExtraOptionsForm in modules/shs_chosen/src/Plugin/views/filter/ShsChosenTaxonomyIndexTidDepth.php
Provide a form for setting options.

File

modules/shs_chosen/src/Plugin/views/filter/ShsChosenTaxonomyIndexTid.php, line 21

Class

ShsChosenTaxonomyIndexTid
Filter by term id using "Simple hierarchical select: chosen" widgets.

Namespace

Drupal\shs_chosen\Plugin\views\filter

Code

public function buildExtraOptionsForm(&$form, FormStateInterface $form_state) {
  parent::buildExtraOptionsForm($form, $form_state);
  $form['type']['#options']['shs_chosen'] = $this
    ->t('Simple hierarchical select: Chosen');
}