function SectionListInterface::appendSection

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

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

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