function SectionComponentBuildRenderArrayEvent::getComponent
Same name in other branches
- 9 core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::getComponent()
- 10 core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::getComponent()
- 11.x core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\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 79
Class
- SectionComponentBuildRenderArrayEvent
- Event fired when a section component's render array is being built.
Namespace
Drupal\layout_builder\EventCode
public function getComponent() {
return $this->component;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.