function PrepareLayoutEvent::getSectionStorage

Same name in other branches
  1. 9 core/modules/layout_builder/src/Event/PrepareLayoutEvent.php \Drupal\layout_builder\Event\PrepareLayoutEvent::getSectionStorage()
  2. 11.x core/modules/layout_builder/src/Event/PrepareLayoutEvent.php \Drupal\layout_builder\Event\PrepareLayoutEvent::getSectionStorage()

Gets the section storage.

Return value

\Drupal\layout_builder\SectionStorageInterface The section storage.

File

core/modules/layout_builder/src/Event/PrepareLayoutEvent.php, line 41

Class

PrepareLayoutEvent
Event fired in #pre_render of \Drupal\layout_builder\Element\LayoutBuilder.

Namespace

Drupal\layout_builder\Event

Code

public function getSectionStorage() : SectionStorageInterface {
    return $this->sectionStorage;
}

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