public function ShsChosenTaxonomyIndexTid::buildExtraOptionsForm in Simple hierarchical select 2.0.x
Same name and namespace in other branches
- 8 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 31
Class
- ShsChosenTaxonomyIndexTid
- Filter by term id using "Simple hierarchical select: chosen" widgets.
Namespace
Drupal\shs_chosen\Plugin\views\filterCode
public function buildExtraOptionsForm(&$form, FormStateInterface $form_state) {
parent::buildExtraOptionsForm($form, $form_state);
$form['type']['#options']['shs_chosen'] = $this
->t('Simple hierarchical select: Chosen');
}