function EventsExampleForm::create
Same name in other branches
- 3.x modules/events_example/src/Form/EventsExampleForm.php \Drupal\events_example\Form\EventsExampleForm::create()
Overrides FormBase::create
File
-
modules/
events_example/ src/ Form/ EventsExampleForm.php, line 54
Class
- EventsExampleForm
- Implements the SimpleForm form controller.
Namespace
Drupal\events_example\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('event_dispatcher'));
}