Mercurial > hg > isophonics-drupal-site
comparison core/modules/layout_builder/src/LayoutBuilderEvents.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\layout_builder; | |
4 | |
5 /** | |
6 * Defines events for the layout_builder module. | |
7 * | |
8 * @see \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent | |
9 * | |
10 * @internal | |
11 * Layout Builder is currently experimental and should only be leveraged by | |
12 * experimental modules and development releases of contributed modules. | |
13 * See https://www.drupal.org/core/experimental for more information. | |
14 */ | |
15 final class LayoutBuilderEvents { | |
16 | |
17 /** | |
18 * Name of the event fired when a component's render array is built. | |
19 * | |
20 * This event allows modules to collaborate on creating the render array of | |
21 * the SectionComponent object. The event listener method receives a | |
22 * \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent | |
23 * instance. | |
24 * | |
25 * @Event | |
26 * | |
27 * @see \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent | |
28 * @see \Drupal\layout_builder\SectionComponent::toRenderArray() | |
29 * | |
30 * @var string | |
31 */ | |
32 const SECTION_COMPONENT_BUILD_RENDER_ARRAY = 'section_component.build.render_array'; | |
33 | |
34 } |