You are here

function Numeric::op_simple in Views (for Drupal 7) 8.3

2 methods override Numeric::op_simple()
Date::op_simple in lib/Drupal/views/Plugin/views/filter/Date.php
GroupByNumeric::op_simple in lib/Drupal/views/Plugin/views/filter/GroupByNumeric.php

File

lib/Drupal/views/Plugin/views/filter/Numeric.php, line 265
Definition of Drupal\views\Plugin\views\filter\Numeric.

Class

Numeric
Simple filter to handle greater than/less than filters

Namespace

Drupal\views\Plugin\views\filter

Code

function op_simple($field) {
  $this->query
    ->add_where($this->options['group'], $field, $this->value['value'], $this->operator);
}