function ReactionRuleAddForm::create

Overrides RulesComponentFormBase::create

File

src/Form/ReactionRuleAddForm.php, line 36

Class

ReactionRuleAddForm
Provides a form to add a reaction rule.

Namespace

Drupal\rules\Form

Code

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