You are here

function Numeric::query in EntityFieldQuery Views Backend 8

Add this filter to the query.

Due to the nature of fapi, the value and the operator have an unintended level of indirection. You will find them in $this->operator and $this->value respectively.

Overrides Numeric::query

File

src/Plugin/views/filter/Numeric.inc, line 77
Contains \Drupal\efq_views\Plugin\views\filter\Numeric.

Class

Numeric
Numeric filter.

Namespace

Drupal\efq_views\Plugin\views\filter

Code

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