You are here

public function FieldValidationRuleSetEditForm::__construct in Field Validation 8

Constructs an FieldValidationRuleSetEditForm object.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The storage.

\Drupal\field_validation\FieldValidationRuleManager $field_validation_rule_manager: The field_validation_rule manager service.

Overrides FieldValidationRuleSetFormBase::__construct

File

src/Form/FieldValidationRuleSetEditForm.php, line 32

Class

FieldValidationRuleSetEditForm
Controller for blocktabs edit form.

Namespace

Drupal\field_validation\Form

Code

public function __construct(EntityStorageInterface $entity_storage, FieldValidationRuleManager $field_validation_rule_manager) {
  parent::__construct($entity_storage);
  $this->fieldValidationRuleManager = $field_validation_rule_manager;
}