public function ViewsJsonQuery::getUrlParam in Views Json Source 8
To get the next filter value to pick the node from the json.
1 call to ViewsJsonQuery::getUrlParam()
- ViewsJsonQuery::execute in src/
Plugin/ views/ query/ ViewsJsonQuery.php - Executes the query and fills the associated view object with according values.
File
- src/
Plugin/ views/ query/ ViewsJsonQuery.php, line 611
Class
- ViewsJsonQuery
- Base query handler for views_json_source.
Namespace
Drupal\views_json_source\Plugin\views\queryCode
public function getUrlParam() {
if (!isset($this->urlParams)) {
return [];
}
$filter = current($this->urlParams);
next($this->urlParams);
return $filter;
}