You are here

public function ShsChosenTaxonomyIndexTid::defaultExposeOptions 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::defaultExposeOptions()

Provide default options for exposed filters.

Overrides InOperator::defaultExposeOptions

File

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

Class

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

Namespace

Drupal\shs_chosen\Plugin\views\filter

Code

public function defaultExposeOptions() {
  parent::defaultExposeOptions();
  $this->options['expose']['chosen_override'] = FALSE;
  $this->options['expose'] = $this
    ->defaultChosenSettings() + $this->options['expose'];
}