function TextFormatElementFormTest::validateForm

Same name and namespace in other branches
  1. 9 core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php \Drupal\Tests\filter\Kernel\TextFormatElementFormTest::validateForm()
  2. 10 core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php \Drupal\Tests\filter\Kernel\TextFormatElementFormTest::validateForm()
  3. 11.x core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php \Drupal\Tests\filter\Kernel\TextFormatElementFormTest::validateForm()

Form validation 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::validateForm

File

core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php, line 109

Class

TextFormatElementFormTest
Tests PathElement validation and conversion functionality.

Namespace

Drupal\Tests\filter\Kernel

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.