Mercurial > hg > isophonics-drupal-site
view core/modules/layout_builder/src/LayoutBuilderEvents.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | af1871eacc83 |
children |
line wrap: on
line source
<?php namespace Drupal\layout_builder; /** * Defines events for the layout_builder module. * * @see \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent */ final class LayoutBuilderEvents { /** * Name of the event fired when a component's render array is built. * * This event allows modules to collaborate on creating the render array of * the SectionComponent object. The event listener method receives a * \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent * instance. * * @Event * * @see \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent * @see \Drupal\layout_builder\SectionComponent::toRenderArray() * * @var string */ const SECTION_COMPONENT_BUILD_RENDER_ARRAY = 'section_component.build.render_array'; }