You are here

public function SectionListInterface::appendSection in Drupal 10

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

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);