You are here

function String::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 String::query

File

src/Plugin/views/filter/String.php, line 59
Contains \Drupal\efq_views\Plugin\views\filter\String.

Class

String
Filter handler for string.

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);
  }
}