function NumericFilter::opSimple
Same name in other branches
- 9 core/modules/views/src/Plugin/views/filter/NumericFilter.php \Drupal\views\Plugin\views\filter\NumericFilter::opSimple()
- 8.9.x core/modules/views/src/Plugin/views/filter/NumericFilter.php \Drupal\views\Plugin\views\filter\NumericFilter::opSimple()
- 11.x core/modules/views/src/Plugin/views/filter/NumericFilter.php \Drupal\views\Plugin\views\filter\NumericFilter::opSimple()
2 methods override NumericFilter::opSimple()
- Date::opSimple in core/
modules/ views/ src/ Plugin/ views/ filter/ Date.php - GroupByNumeric::opSimple in core/
modules/ views/ src/ Plugin/ views/ filter/ GroupByNumeric.php
File
-
core/
modules/ views/ src/ Plugin/ views/ filter/ NumericFilter.php, line 364
Class
- NumericFilter
- Simple filter to handle greater than/less than filters.
Namespace
Drupal\views\Plugin\views\filterCode
protected function opSimple($field) {
$this->query
->addWhere($this->options['group'], $field, $this->value['value'], $this->operator);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.