You are here

function EntityInteger::opSimple in EntityFieldQuery Views Backend 8

File

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

Class

EntityInteger
Integer filter for entity keys.

Namespace

Drupal\efq_views\Plugin\views\filter

Code

function opSimple($name) {
  $this->query->query
    ->entityCondition($name, (int) $this->value['value'], $this->operator);
}