public function ViewsJsonQuery::addContextualFilter in Views Json Source 8
Same name and namespace in other branches
- 1.x src/Plugin/views/query/ViewsJsonQuery.php \Drupal\views_json_source\Plugin\views\query\ViewsJsonQuery::addContextualFilter()
To store the filter values required to pick the node from the json.
File
- src/
Plugin/ views/ query/ ViewsJsonQuery.php, line 584
Class
- ViewsJsonQuery
- Base query handler for views_json_source.
Namespace
Drupal\views_json_source\Plugin\views\queryCode
public function addContextualFilter($filter) {
$this->contextualFilter[] = $filter;
}