You are here

public function SectionStorageBase::getSections in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageBase::getSections()
  2. 9 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageBase::getSections()
1 method overrides SectionStorageBase::getSections()
TestStateBasedSectionStorage::getSections in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
Gets the layout sections.

File

core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php, line 49

Class

SectionStorageBase
Provides a base class for Section Storage types.

Namespace

Drupal\layout_builder\Plugin\SectionStorage

Code

public function getSections() {
  return $this
    ->getSectionList()
    ->getSections();
}