public function InOperator::query

Add this filter to the query.

Due to the nature of fapi, the value and the operator have an unintended level of indirection. You will find them in $this->operator and $this->value respectively.

Overrides FilterPluginBase::query

2 methods override InOperator::query()
TaxonomyIndexTidDepth::query in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTidDepth.php
Add this filter to the query.
UidRevision::query in drupal/core/modules/node/lib/Drupal/node/Plugin/views/filter/UidRevision.php
Add this filter to the query.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/InOperator.php, line 373
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 query() {
  $info = $this
    ->operators();
  if (!empty($info[$this->operator]['method'])) {
    $this
      ->{$info[$this->operator]['method']}();
  }
}