You are here

public function Standard::query in Views XML Backend 8

Same name in this branch
  1. 8 src/Plugin/views/filter/Standard.php \Drupal\views_xml_backend\Plugin\views\filter\Standard::query()
  2. 8 src/Plugin/views/sort/Standard.php \Drupal\views_xml_backend\Plugin\views\sort\Standard::query()
  3. 8 src/Plugin/views/argument/Standard.php \Drupal\views_xml_backend\Plugin\views\argument\Standard::query()

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 StringFilter::query

File

src/Plugin/views/filter/Standard.php, line 29
Contains \Drupal\views_xml_backend\Plugin\views\filter\Standard.

Class

Standard
Default implementation of the base filter plugin.

Namespace

Drupal\views_xml_backend\Plugin\views\filter

Code

public function query() {
  $this->query
    ->addFilter($this);
}