public function Layout::getSections in Layout builder library 8
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/ Layout.php, line 122
Class
- Layout
- Defines a layout entity.
Namespace
Drupal\layout_library\EntityCode
public function getSections() {
return $this->layout;
}