public function ShsTaxonomyIndexTid::buildExtraOptionsForm in Simple hierarchical select 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/views/filter/ShsTaxonomyIndexTid.php \Drupal\shs\Plugin\views\filter\ShsTaxonomyIndexTid::buildExtraOptionsForm()
Provide a form for setting options.
Overrides TaxonomyIndexTid::buildExtraOptionsForm
2 calls to ShsTaxonomyIndexTid::buildExtraOptionsForm()
- ShsChosenTaxonomyIndexTid::buildExtraOptionsForm in modules/
shs_chosen/ src/ Plugin/ views/ filter/ ShsChosenTaxonomyIndexTid.php - Provide a form for setting options.
- ShsTaxonomyIndexTidDepth::buildExtraOptionsForm in src/
Plugin/ views/ filter/ ShsTaxonomyIndexTidDepth.php - Provide a form for setting options.
2 methods override ShsTaxonomyIndexTid::buildExtraOptionsForm()
- ShsChosenTaxonomyIndexTid::buildExtraOptionsForm in modules/
shs_chosen/ src/ Plugin/ views/ filter/ ShsChosenTaxonomyIndexTid.php - Provide a form for setting options.
- ShsTaxonomyIndexTidDepth::buildExtraOptionsForm in src/
Plugin/ views/ filter/ ShsTaxonomyIndexTidDepth.php - Provide a form for setting options.
File
- src/
Plugin/ views/ filter/ ShsTaxonomyIndexTid.php, line 37
Class
- ShsTaxonomyIndexTid
- Filter by term id using Simple hierarchical select widgets.
Namespace
Drupal\shs\Plugin\views\filterCode
public function buildExtraOptionsForm(&$form, FormStateInterface $form_state) {
parent::buildExtraOptionsForm($form, $form_state);
$form['type']['#options']['shs'] = $this
->t('Simple hierarchical select');
}