function InOperator::query

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/filter/InOperator.php \Drupal\views\Plugin\views\filter\InOperator::query()
  2. 8.9.x core/modules/views/src/Plugin/views/filter/InOperator.php \Drupal\views\Plugin\views\filter\InOperator::query()
  3. 11.x core/modules/views/src/Plugin/views/filter/InOperator.php \Drupal\views\Plugin\views\filter\InOperator::query()

Overrides FilterPluginBase::query

3 calls to InOperator::query()
Bundle::query in core/modules/views/src/Plugin/views/filter/Bundle.php
LanguageFilter::query in core/modules/views/src/Plugin/views/filter/LanguageFilter.php
Permissions::query in core/modules/user/src/Plugin/views/filter/Permissions.php
Replace the configured permission with a filter by all roles that have this permission.
6 methods override InOperator::query()
Bundle::query in core/modules/views/src/Plugin/views/filter/Bundle.php
LanguageFilter::query in core/modules/views/src/Plugin/views/filter/LanguageFilter.php
Permissions::query in core/modules/user/src/Plugin/views/filter/Permissions.php
Replace the configured permission with a filter by all roles that have this permission.
TaxonomyIndexTidDepth::query in core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTidDepth.php
UidRevision::query in core/modules/node/src/Plugin/views/filter/UidRevision.php

... See full list

File

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

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']}();
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.