You are here

public function ViewsJsonParameter::query in Views Json Source 8

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

Add this filter to the query.

Overrides ArgumentPluginBase::query

File

src/Plugin/views/argument/ViewsJsonParameter.php, line 20

Class

ViewsJsonParameter
Base argument handler for views_json_source.

Namespace

Drupal\views_json_source\Plugin\views\argument

Code

public function query($group_by = FALSE) {
  $this->query
    ->addContextualFilter($this->argument);
}