function PrepareLayoutEvent::__construct
Constructs a new PrepareLayoutEvent.
Parameters
\Drupal\layout_builder\SectionStorageInterface $section_storage: The section storage preparing the Layout.
File
-
core/
modules/ layout_builder/ src/ Event/ PrepareLayoutEvent.php, line 31
Class
- PrepareLayoutEvent
- Event fired in #pre_render of \Drupal\layout_builder\Element\LayoutBuilder.
Namespace
Drupal\layout_builder\EventCode
public function __construct(SectionStorageInterface $section_storage) {
$this->sectionStorage = $section_storage;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.