You are here

public function FieldValidationRuleSetFormBase::__construct in Field Validation 8

Constructs a base class for FieldValidationRuleSet add and edit forms.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The block tabs entity storage.

1 call to FieldValidationRuleSetFormBase::__construct()
FieldValidationRuleSetEditForm::__construct in src/Form/FieldValidationRuleSetEditForm.php
Constructs an FieldValidationRuleSetEditForm object.
1 method overrides FieldValidationRuleSetFormBase::__construct()
FieldValidationRuleSetEditForm::__construct in src/Form/FieldValidationRuleSetEditForm.php
Constructs an FieldValidationRuleSetEditForm object.

File

src/Form/FieldValidationRuleSetFormBase.php, line 35

Class

FieldValidationRuleSetFormBase
Base form for FieldValidationRuleSet add and edit forms.

Namespace

Drupal\field_validation\Form

Code

public function __construct(EntityStorageInterface $entity_storage) {
  $this->entityStorage = $entity_storage;
}