public function ShsChosenTaxonomyIndexTid::defaultExposeOptions 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::defaultExposeOptions()
Provide default options for exposed filters.
Overrides InOperator::defaultExposeOptions
File
- modules/
shs_chosen/ src/ Plugin/ views/ filter/ ShsChosenTaxonomyIndexTid.php, line 56
Class
- ShsChosenTaxonomyIndexTid
- Filter by term id using "Simple hierarchical select: chosen" widgets.
Namespace
Drupal\shs_chosen\Plugin\views\filterCode
public function defaultExposeOptions() {
parent::defaultExposeOptions();
$this->options['expose']['chosen_override'] = FALSE;
$this->options['expose'] = $this
->defaultChosenSettings() + $this->options['expose'];
}