Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SectionComponentBuildRenderArrayEvent.php

function SectionComponentBuildRenderArrayEvent::setBuild

Set the render array.

Parameters

array $build: A render array.

File

core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php, line 134

Class

SectionComponentBuildRenderArrayEvent
Event fired when a section component's render array is being built.

Namespace

Drupal\layout_builder\Event

Code

public function setBuild(array $build) {
    $this->build = $build;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal