constant LayoutBuilderEvents::PREPARE_LAYOUT in Drupal 9
Name of the event fired in when preparing a layout builder element.
This event allows modules to collaborate on creating the sections used in \Drupal\layout_builder\Element\LayoutBuilder during #pre_render.
See also
\Drupal\layout_builder\Event\PrepareLayoutEvent
\Drupal\layout_builder\Element\LayoutBuilder
File
- core/
modules/ layout_builder/ src/ LayoutBuilderEvents.php, line 40
Class
- LayoutBuilderEvents
- Defines events for the layout_builder module.
Namespace
Drupal\layout_builderCode
const PREPARE_LAYOUT = 'prepare_layout';