function RulesComponentFormBase::create

Overrides FormBase::create

2 methods override RulesComponentFormBase::create()
ReactionRuleAddForm::create in src/Form/ReactionRuleAddForm.php
Instantiates a new instance of this class.
ReactionRuleEditForm::create in src/Form/ReactionRuleEditForm.php
Instantiates a new instance of this class.

File

src/Form/RulesComponentFormBase.php, line 26

Class

RulesComponentFormBase
Provides the base form for rules add and edit forms.

Namespace

Drupal\rules\Form

Code

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