function SectionComponentBuildRenderArrayEvent::getBuild
Same name in other branches
- 8.9.x core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::getBuild()
- 10 core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::getBuild()
- 11.x core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::getBuild()
Get the render array in its current state.
Return value
array The render array built by the event subscribers.
File
-
core/
modules/ layout_builder/ src/ Event/ SectionComponentBuildRenderArrayEvent.php, line 124
Class
- SectionComponentBuildRenderArrayEvent
- Event fired when a section component's render array is being built.
Namespace
Drupal\layout_builder\EventCode
public function getBuild() {
return $this->build;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.