LayoutBuilderEvents::PREPARE_LAYOUT

Same name in other branches
  1. 9 core/modules/layout_builder/src/LayoutBuilderEvents.php \Drupal\layout_builder\LayoutBuilderEvents::PREPARE_LAYOUT
  2. 10 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_builder

Code

const PREPARE_LAYOUT = 'prepare_layout';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.