protected property EventsExampleForm::$eventDispatcher in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/events_example/src/Form/EventsExampleForm.php \Drupal\events_example\Form\EventsExampleForm::eventDispatcher
The event dispatcher service.
Type: \Symfony\Component\EventDispatcher\EventDispatcherInterface
File
- events_example/
src/ Form/ EventsExampleForm.php, line 32
Class
- EventsExampleForm
- Implements the SimpleForm form controller.
Namespace
Drupal\events_example\FormCode
protected $eventDispatcher;