function SectionStorageBase::getSections
Gets the layout sections.
Return value
\Drupal\layout_builder\Section[] A sequentially and numerically keyed array of section objects.
Overrides SectionListInterface::getSections
1 call to SectionStorageBase::getSections()
- OverridesSectionStorage::isOverridden in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php - Indicates if overrides are in use.
1 method overrides SectionStorageBase::getSections()
- TestStateBasedSectionStorage::getSections in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ SectionStorage/ TestStateBasedSectionStorage.php - Gets the layout sections.
File
-
core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ SectionStorageBase.php, line 49
Class
- SectionStorageBase
- Provides a base class for Section Storage types.
Namespace
Drupal\layout_builder\Plugin\SectionStorageCode
public function getSections() {
return $this->getSectionList()
->getSections();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.