function SectionListInterface::getSection

Same name in other branches
  1. 9 core/modules/layout_builder/src/SectionListInterface.php \Drupal\layout_builder\SectionListInterface::getSection()
  2. 8.9.x core/modules/layout_builder/src/SectionListInterface.php \Drupal\layout_builder\SectionListInterface::getSection()
  3. 11.x core/modules/layout_builder/src/SectionListInterface.php \Drupal\layout_builder\SectionListInterface::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.

1 method overrides SectionListInterface::getSection()
SectionStorageBase::getSection in core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php
Gets a domain object for the layout section.

File

core/modules/layout_builder/src/SectionListInterface.php, line 29

Class

SectionListInterface
Defines the interface for an object that stores layout sections.

Namespace

Drupal\layout_builder

Code

public function getSection($delta);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.