You are here

function EntityInteger::opBetween in EntityFieldQuery Views Backend 8

File

src/Plugin/views/filter/EntityInteger.php, line 29
Contains \Drupal\efq_views\Plugin\views\filter\EntityInteger.

Class

EntityInteger
Integer filter for entity keys.

Namespace

Drupal\efq_views\Plugin\views\filter

Code

function opBetween($name) {
  $this->query->query
    ->entityCondition($name, (int) array(
    $this->value['min'],
    (int) $this->value['max'],
  ), "BETWEEN");
}