public function ChartTrait::addRow in Dashboards with Layout Builder 8
Same name and namespace in other branches
- 2.0.x src/Plugin/Dashboard/ChartTrait.php \Drupal\dashboards\Plugin\Dashboard\ChartTrait::addRow()
Add a row.
Parameters
array $row: Row to add.
File
- src/
Plugin/ Dashboard/ ChartTrait.php, line 98
Class
- ChartTrait
- Trait for build a chart.
Namespace
Drupal\dashboards\Plugin\DashboardCode
public function addRow(array $row) : void {
$this->rows[] = $row;
}