public function ChartTrait::setEmpty 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::setEmpty()
Set this chart is empty.
Parameters
bool $empty: Empty flag to set.
1 call to ChartTrait::setEmpty()
- NodeStatistics::buildRenderArray in src/
Plugin/ Dashboard/ NodeStatistics.php - Build render array.
File
- src/
Plugin/ Dashboard/ ChartTrait.php, line 118
Class
- ChartTrait
- Trait for build a chart.
Namespace
Drupal\dashboards\Plugin\DashboardCode
public function setEmpty(bool $empty) : void {
$this->empty = $empty;
}