function InOperator::query
Same name in other branches
- 9 core/modules/views/src/Plugin/views/filter/InOperator.php \Drupal\views\Plugin\views\filter\InOperator::query()
- 8.9.x core/modules/views/src/Plugin/views/filter/InOperator.php \Drupal\views\Plugin\views\filter\InOperator::query()
- 10 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 - Add this filter to the query.
- LanguageFilter::query in core/
modules/ views/ src/ Plugin/ views/ filter/ LanguageFilter.php - Add this filter to the query.
- 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 - Add this filter to the query.
- LanguageFilter::query in core/
modules/ views/ src/ Plugin/ views/ filter/ LanguageFilter.php - Add this filter to the query.
- 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 - Add this filter to the query.
- UidRevision::query in core/
modules/ node/ src/ Plugin/ views/ filter/ UidRevision.php - Add this filter to the query.
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\filterCode
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.