You are here

protected function Library::getSectionList in Layout builder library 8

Gets the section list.

Return value

\Drupal\layout_builder\SectionListInterface The section list.

Overrides SectionStorageBase::getSectionList

2 calls to Library::getSectionList()
Library::getLayout in src/Plugin/SectionStorage/Library.php
Gets the layout.
Library::isApplicable in src/Plugin/SectionStorage/Library.php
Determines if this section storage is applicable for the current contexts.

File

src/Plugin/SectionStorage/Library.php, line 300

Class

Library
Defines a class for library based layout storage.

Namespace

Drupal\layout_library\Plugin\SectionStorage

Code

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