You are here

public function YamlFormHandlerInterface::validateForm in YAML Form 8

Validate form submission form .

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

\Drupal\yamlform\YamlFormSubmissionInterface $yamlform_submission: A form submission.

1 method overrides YamlFormHandlerInterface::validateForm()
YamlFormHandlerBase::validateForm in src/YamlFormHandlerBase.php
Validate form submission form .

File

src/YamlFormHandlerInterface.php, line 194

Class

YamlFormHandlerInterface
Defines the interface for form handlers.

Namespace

Drupal\yamlform

Code

public function validateForm(array &$form, FormStateInterface $form_state, YamlFormSubmissionInterface $yamlform_submission);