function PrepareLayoutEvent::getSectionStorage

Same name and namespace in other branches
  1. 10 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 <a href="/api/drupal/core%21modules%21layout_builder%21src%21Element%21LayoutBuilder.php/class/LayoutBuilder/9" title="Defines a render element for building the Layout Builder UI." class="local">\Drupal\layout_builder\Element\LayoutBuilder</a>.

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.