EventsExampleForm::$eventDispatcher

Same name in other branches
  1. 3.x modules/events_example/src/Form/EventsExampleForm.php \Drupal\events_example\Form\EventsExampleForm::eventDispatcher
  2. 8.x-1.x 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\Form

Code

protected $eventDispatcher;