function AddEventForm::create

Overrides FormBase::create

File

src/Form/AddEventForm.php, line 43

Class

AddEventForm
UI form to add an event to a rule.

Namespace

Drupal\rules\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('plugin.manager.rules_event'), $container->get('entity_type.bundle.info'));
}