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