You are here

protected function PageManagerSectionStorage::getSectionList in Page Manager 8.4

Gets the section list.

Return value

\Drupal\layout_builder\SectionListInterface The section list.

Overrides SectionStorageBase::getSectionList

File

src/Plugin/SectionStorage/PageManagerSectionStorage.php, line 110

Class

PageManagerSectionStorage
Defines the 'page_manager' section storage type.

Namespace

Drupal\page_manager\Plugin\SectionStorage

Code

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