You are here

protected function DefaultsSectionStorage::getSectionList in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php \Drupal\layout_builder\Plugin\SectionStorage\DefaultsSectionStorage::getSectionList()

Gets the section list.

Return value

\Drupal\layout_builder\SectionListInterface The section list.

Overrides SectionStorageBase::getSectionList

1 call to DefaultsSectionStorage::getSectionList()
DefaultsSectionStorage::getDisplay in core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
Gets the entity storing the defaults.

File

core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php, line 95

Class

DefaultsSectionStorage
Defines the 'defaults' section storage type.

Namespace

Drupal\layout_builder\Plugin\SectionStorage

Code

protected function getSectionList() {
  return $this
    ->getContextValue('display');
}