function AddExpressionForm::__construct

Creates a new object of this class.

File

src/Form/AddExpressionForm.php, line 35

Class

AddExpressionForm
UI form to add an expression like a condition or action to a rule.

Namespace

Drupal\rules\Form

Code

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