function GroupByNumeric::query

Overrides NumericFilter::query

File

core/modules/views/src/Plugin/views/filter/GroupByNumeric.php, line 15

Class

GroupByNumeric
Simple filter to handle greater than/less than filters.

Namespace

Drupal\views\Plugin\views\filter

Code

public function query() {
  $this->ensureMyTable();
  $field = $this->getField();
  $info = $this->operators();
  if (!empty($info[$this->operator]['method'])) {
    $this->{$info[$this->operator]['method']}($field);
  }
}

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