You are here

public function FormElementMaxlengthTest::submitForm in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php \Drupal\Tests\system\Kernel\Form\FormElementMaxlengthTest::submitForm()
  2. 9 core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php \Drupal\Tests\system\Kernel\Form\FormElementMaxlengthTest::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/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php, line 55

Class

FormElementMaxlengthTest
Tests the maxlength HTML attribute on form elements.

Namespace

Drupal\Tests\system\Kernel\Form

Code

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