public function ActionEditFieldForm::validateForm in Paragraphs table 8
Form validation handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides FormBase::validateForm
File
- src/
Form/ ActionEditFieldForm.php, line 126
Class
- ActionEditFieldForm
- Builds and process a form for editing a single entity field.
Namespace
Drupal\paragraphs_table\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
$entity = $this
->buildEntity($form, $form_state);
$form_state
->get('form_display')
->validateFormValues($entity, $form, $form_state);
}