function RuleExpressionForm::__construct

Creates a new object of this class.

File

src/Form/Expression/RuleExpressionForm.php, line 26

Class

RuleExpressionForm
Form view structure for rule expressions.

Namespace

Drupal\rules\Form\Expression

Code

public function __construct(RuleExpressionInterface $rule) {
    $this->rule = $rule;
}