You are here

public function InOperator::defaultExposeOptions in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/filter/InOperator.php \Drupal\views\Plugin\views\filter\InOperator::defaultExposeOptions()

Provide default options for exposed filters.

Overrides FilterPluginBase::defaultExposeOptions

File

core/modules/views/src/Plugin/views/filter/InOperator.php, line 81

Class

InOperator
Simple filter to handle matching of multiple options selectable via checkboxes.

Namespace

Drupal\views\Plugin\views\filter

Code

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