You are here

public function SectionComponentBuildRenderArrayEvent::getBuild in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::getBuild()
  2. 9 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\Event

Code

public function getBuild() {
  return $this->build;
}