public function ChartTrait::setRows 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::setRows()
Set all rows.
Parameters
array $rows: Rows to set.
5 calls to ChartTrait::setRows()
- Comments::buildRenderArray in modules/
dashboards_comments/ src/ Plugin/ Dashboard/ Comments.php - Build render array.
- MatomoBase::buildDateRows in modules/
dashboards_matomo/ src/ Plugin/ Dashboard/ MatomoBase.php - Helper function for build rows from matomo.
- MostReaded::buildRenderArray in modules/
dashboards_statistic/ src/ Plugin/ Dashboard/ MostReaded.php - Build render array.
- NodeStatistics::buildRenderArray in src/
Plugin/ Dashboard/ NodeStatistics.php - Build render array.
- Submissions::buildRenderArray in modules/
dashboards_webform/ src/ Plugin/ Dashboard/ Submissions.php - Build render array.
File
- src/
Plugin/ Dashboard/ ChartTrait.php, line 108
Class
- ChartTrait
- Trait for build a chart.
Namespace
Drupal\dashboards\Plugin\DashboardCode
public function setRows(array $rows) : void {
$this->rows = $rows;
}