You are here

public function FieldValidationRuleAddForm::__construct in Field Validation 8

Constructs a new FieldValidationRuleAddForm.

Parameters

\Drupal\field_validation\FieldValidationRuleManager $field_validation_rule_manager: The fieldValidationRule manager.

File

src/Form/FieldValidationRuleAddForm.php, line 28

Class

FieldValidationRuleAddForm
Provides an add form for field validation rule.

Namespace

Drupal\field_validation\Form

Code

public function __construct(FieldValidationRuleManager $field_validation_rule_manager) {
  $this->fieldValidationRuleManager = $field_validation_rule_manager;
}