You are here

public function ViewsJsonQuery::addFilter in Views Json Source 8

Same name and namespace in other branches
  1. 1.x src/Plugin/views/query/ViewsJsonQuery.php \Drupal\views_json_source\Plugin\views\query\ViewsJsonQuery::addFilter()

Add Filter.

File

src/Plugin/views/query/ViewsJsonQuery.php, line 543

Class

ViewsJsonQuery
Base query handler for views_json_source.

Namespace

Drupal\views_json_source\Plugin\views\query

Code

public function addFilter($filter) {
  $this->filter[] = $filter;
}