public function Dashboard::getSections in Dashboards with Layout Builder 8
Same name and namespace in other branches
- 2.0.x src/Entity/Dashboard.php \Drupal\dashboards\Entity\Dashboard::getSections()
Gets the layout sections.
Return value
\Drupal\layout_builder\Section[] A sequentially and numerically keyed array of section objects.
Overrides SectionListInterface::getSections
File
- src/
Entity/ Dashboard.php, line 125
Class
- Dashboard
- Dashboard.
Namespace
Drupal\dashboards\EntityCode
public function getSections() {
return $this
->get('sections');
}