function DispatchForm::create

Overrides FormBase::create

File

tests/modules/rules_test_event/src/Form/DispatchForm.php, line 38

Class

DispatchForm
Acquires input, wraps it in a Task object, and queues it for processing.

Namespace

Drupal\rules_test_event\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('event_dispatcher'));
}