function SectionComponentBuildRenderArrayEvent::getPlugin
Same name in other branches
- 9 core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::getPlugin()
- 8.9.x core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::getPlugin()
- 10 core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::getPlugin()
Get the plugin for the section component being built.
Return value
\Drupal\Component\Plugin\PluginInspectionInterface The plugin for the section component being built.
File
-
core/
modules/ layout_builder/ src/ Event/ SectionComponentBuildRenderArrayEvent.php, line 104
Class
- SectionComponentBuildRenderArrayEvent
- Event fired when a section component's render array is being built.
Namespace
Drupal\layout_builder\EventCode
public function getPlugin() {
return $this->plugin;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.