You are here

protected function OverridesSectionStorage::getSectionList in Drupal 9

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

Gets the section list.

Return value

\Drupal\layout_builder\SectionListInterface The section list.

Overrides SectionStorageBase::getSectionList

File

core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php, line 125

Class

OverridesSectionStorage
Defines the 'overrides' section storage type.

Namespace

Drupal\layout_builder\Plugin\SectionStorage

Code

protected function getSectionList() {
  return $this
    ->getEntity()
    ->get(static::FIELD_NAME);
}