function RulesComponentFormBase::__construct

Creates a new object of this class.

Parameters

\Drupal\rules\Engine\ExpressionManagerInterface $expression_manager: The expression manager.

2 calls to RulesComponentFormBase::__construct()
ReactionRuleAddForm::__construct in src/Form/ReactionRuleAddForm.php
Constructs a new reaction rule form.
ReactionRuleEditForm::__construct in src/Form/ReactionRuleEditForm.php
Constructs a new object of this class.
2 methods override RulesComponentFormBase::__construct()
ReactionRuleAddForm::__construct in src/Form/ReactionRuleAddForm.php
Constructs a new reaction rule form.
ReactionRuleEditForm::__construct in src/Form/ReactionRuleEditForm.php
Constructs a new object of this class.

File

src/Form/RulesComponentFormBase.php, line 36

Class

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

Namespace

Drupal\rules\Form

Code

public function __construct(ExpressionManagerInterface $expression_manager) {
    $this->expressionManager = $expression_manager;
}