You are here

public function SectionListInterface::appendSection in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/SectionListInterface.php \Drupal\layout_builder\SectionListInterface::appendSection()
  2. 10 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_builder

Code

public function appendSection(Section $section);