You are here

public function FieldValidationRuleSetFormBase::form in Field Validation 8

Gets the actual form array to be built.

Overrides EntityForm::form

See also

\Drupal\Core\Entity\EntityForm::processForm()

\Drupal\Core\Entity\EntityForm::afterBuild()

2 calls to FieldValidationRuleSetFormBase::form()
FieldValidationRuleSetAddForm::form in src/Form/FieldValidationRuleSetAddForm.php
Gets the actual form array to be built.
FieldValidationRuleSetEditForm::form in src/Form/FieldValidationRuleSetEditForm.php
Gets the actual form array to be built.
2 methods override FieldValidationRuleSetFormBase::form()
FieldValidationRuleSetAddForm::form in src/Form/FieldValidationRuleSetAddForm.php
Gets the actual form array to be built.
FieldValidationRuleSetEditForm::form in src/Form/FieldValidationRuleSetEditForm.php
Gets the actual form array to be built.

File

src/Form/FieldValidationRuleSetFormBase.php, line 51

Class

FieldValidationRuleSetFormBase
Base form for FieldValidationRuleSet add and edit forms.

Namespace

Drupal\field_validation\Form

Code

public function form(array $form, FormStateInterface $form_state) {
  return parent::form($form, $form_state);
}