You are here

public function SectionComponentBuildRenderArrayEvent::getPlugin in Drupal 8

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

Class

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

Namespace

Drupal\layout_builder\Event

Code

public function getPlugin() {
  return $this->plugin;
}