You are here

public function InOperator::defaultExposeOptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 85
Contains \Drupal\views\Plugin\views\filter\InOperator.

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;
}