LayoutBuilderEvents::PREPARE_LAYOUT
Same name in other branches
- 9 core/modules/layout_builder/src/LayoutBuilderEvents.php \Drupal\layout_builder\LayoutBuilderEvents::PREPARE_LAYOUT
- 11.x core/modules/layout_builder/src/LayoutBuilderEvents.php \Drupal\layout_builder\LayoutBuilderEvents::PREPARE_LAYOUT
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';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.