function SectionListInterface::appendSection
Same name in other branches
- 9 core/modules/layout_builder/src/SectionListInterface.php \Drupal\layout_builder\SectionListInterface::appendSection()
- 8.9.x core/modules/layout_builder/src/SectionListInterface.php \Drupal\layout_builder\SectionListInterface::appendSection()
- 11.x core/modules/layout_builder/src/SectionListInterface.php \Drupal\layout_builder\SectionListInterface::appendSection()
Appends a new section to the end of the list.
Parameters
\Drupal\layout_builder\Section $section: The section to append.
Return value
$this
1 method overrides SectionListInterface::appendSection()
- SectionStorageBase::appendSection in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ SectionStorageBase.php - Appends a new section to the end of the list.
File
-
core/
modules/ layout_builder/ src/ SectionListInterface.php, line 39
Class
- SectionListInterface
- Defines the interface for an object that stores layout sections.
Namespace
Drupal\layout_builderCode
public function appendSection(Section $section);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.