You are here

public function InOperator::init in Views (for Drupal 7) 8.3

Overrides Drupal\views\Plugin\views\filter\FilterPluginBase::init().

Overrides FilterPluginBase::init

1 call to InOperator::init()
ManyToOne::init in lib/Drupal/views/Plugin/views/filter/ManyToOne.php
Overrides Drupal\views\Plugin\views\filter\FilterPluginBase::init().
1 method overrides InOperator::init()
ManyToOne::init in lib/Drupal/views/Plugin/views/filter/ManyToOne.php
Overrides Drupal\views\Plugin\views\filter\FilterPluginBase::init().

File

lib/Drupal/views/Plugin/views/filter/InOperator.php, line 39
Definition of 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 init(ViewExecutable $view, &$options) {
  parent::init($view, $options);
  $this->value_title = t('Options');
  $this->value_options = NULL;
}