function SectionComponent::eventDispatcher
Same name in other branches
- 9 core/modules/layout_builder/src/SectionComponent.php \Drupal\layout_builder\SectionComponent::eventDispatcher()
- 10 core/modules/layout_builder/src/SectionComponent.php \Drupal\layout_builder\SectionComponent::eventDispatcher()
- 11.x core/modules/layout_builder/src/SectionComponent.php \Drupal\layout_builder\SectionComponent::eventDispatcher()
Wraps the event dispatcher.
Return value
\Symfony\Component\EventDispatcher\EventDispatcherInterface The event dispatcher.
File
-
core/
modules/ layout_builder/ src/ SectionComponent.php, line 278
Class
- SectionComponent
- Provides a value object for a section component.
Namespace
Drupal\layout_builderCode
protected function eventDispatcher() {
return \Drupal::service('event_dispatcher');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.