public function SectionStorageBase::getSection in Drupal 8
Same name and namespace in other branches
- 9 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageBase::getSection()
Gets a domain object for the layout section.
Parameters
int $delta: The delta of the section.
Return value
\Drupal\layout_builder\Section The layout section.
Overrides SectionListInterface::getSection
File
- core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ SectionStorageBase.php, line 74
Class
- SectionStorageBase
- Provides a base class for Section Storage types.
Namespace
Drupal\layout_builder\Plugin\SectionStorageCode
public function getSection($delta) {
return $this
->getSectionList()
->getSection($delta);
}