You are here

public function ViewsTestDataErrorForm::submitForm in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataErrorForm.php \Drupal\views_test_data\Form\ViewsTestDataErrorForm::submitForm()
  2. 9 core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataErrorForm.php \Drupal\views_test_data\Form\ViewsTestDataErrorForm::submitForm()

Form submission 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 FormInterface::submitForm

File

core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataErrorForm.php, line 45

Class

ViewsTestDataErrorForm
Implements a test form that has a validation error.

Namespace

Drupal\views_test_data\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
}