function SectionStorageBase::getSections

Same name in other branches
  1. 8.9.x core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageBase::getSections()
  2. 10 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageBase::getSections()
  3. 11.x core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageBase::getSections()

Overrides SectionListInterface::getSections

1 call to SectionStorageBase::getSections()
OverridesSectionStorage::isOverridden in core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php
Indicates if overrides are in use.
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();
}

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