function 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 56
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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.