You are here

public function YamlFormHandlerBase::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.

Overrides YamlFormHandlerInterface::validateForm

1 method overrides YamlFormHandlerBase::validateForm()
TestYamlFormHandler::validateForm in tests/modules/yamlform_test/src/Plugin/YamlFormHandler/TestYamlFormHandler.php
Validate form submission form .

File

src/YamlFormHandlerBase.php, line 296

Class

YamlFormHandlerBase
Provides a base class for a form handler.

Namespace

Drupal\yamlform

Code

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