public function ViewsJsonQuery::addUrlParams in Views Json Source 8
To store the filter values required to pick the node from the json.
File
- src/
Plugin/ views/ query/ ViewsJsonQuery.php, line 604
Class
- ViewsJsonQuery
- Base query handler for views_json_source.
Namespace
Drupal\views_json_source\Plugin\views\queryCode
public function addUrlParams($filter) {
$this->urlParams[] = $filter;
}