function AddExpressionForm::create

Overrides FormBase::create

File

src/Form/AddExpressionForm.php, line 42

Class

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

Namespace

Drupal\rules\Form

Code

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