function LayoutBuilderEntityViewDisplay::getSections
Gets the layout sections.
Return value
\Drupal\layout_builder\Section[] A sequentially and numerically keyed array of section objects.
Overrides SectionListInterface::getSections
3 calls to LayoutBuilderEntityViewDisplay::getSections()
- LayoutBuilderEntityViewDisplay::calculateDependencies in core/modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php 
- Calculates dependencies and stores them in the dependency property.
- LayoutBuilderEntityViewDisplay::getSectionComponentForFieldName in core/modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php 
- Gets the component for a given field name if any.
- LayoutBuilderEntityViewDisplay::onDependencyRemoval in core/modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php 
- Informs the entity that entities it depends on will be deleted.
File
- 
              core/modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php, line 102 
Class
- LayoutBuilderEntityViewDisplay
- Provides an entity view display entity that has a layout.
Namespace
Drupal\layout_builder\EntityCode
public function getSections() {
  return $this->getThirdPartySetting('layout_builder', 'sections', []);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
