public function Report::getDefaultParameters in Forena Reports 8
Get default parameters from report.
Return value
array
File
- src/
Report.php, line 302 - Basic report provider. Controls the rendering of the report.
Class
Namespace
Drupal\forenaCode
public function getDefaultParameters() {
$defaults = [];
foreach ($this->parameterDefinitions as $key => $def) {
if ($def['value']) {
$defaults[$key] = $def['value'];
}
}
return $defaults;
}