PrepareLayoutEvent
class PrepareLayoutEvent extends Event (View source)
Event fired in #pre_render of \Drupal\layout_builder\Element\LayoutBuilder.
Subscribers to this event can prepare section storage before rendering.
Properties
| protected SectionStorageInterface | $sectionStorage | The section storage plugin. |
Methods
getSectionStorage()
Gets the section storage.
Details
__construct(SectionStorageInterface $section_storage)
Constructs a new PrepareLayoutEvent.
SectionStorageInterface
getSectionStorage()
Gets the section storage.