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

Breadcrumb

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

function SectionComponentBuildRenderArrayEvent::getComponent

Get the section component whose render array is being built.

Return value

\Drupal\layout_builder\SectionComponent The section component whose render array is being built.

File

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

Class

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

Namespace

Drupal\layout_builder\Event

Code

public function getComponent() {
    return $this->component;
}

API Navigation

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