You are here

public function WebformHandlerBase::validateForm in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::validateForm()

Validate webform 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\webform\WebformSubmissionInterface $webform_submission: A webform submission.

Overrides WebformHandlerInterface::validateForm

2 methods override WebformHandlerBase::validateForm()
ExampleWebformHandler::validateForm in modules/webform_example_handler/src/Plugin/WebformHandler/ExampleWebformHandler.php
Validate webform submission form.
TestWebformHandler::validateForm in tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformHandler.php
Validate webform submission form.

File

src/Plugin/WebformHandlerBase.php, line 594

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

public function validateForm(array &$form, FormStateInterface $form_state, WebformSubmissionInterface $webform_submission) {
}