public function SectionListInterface::appendSection in Drupal 9
Same name and namespace in other branches
- 8 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);