function MachineNameTest::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/
tests/ Drupal/ KernelTests/ Core/ Render/ Element/ MachineNameTest.php, line 57
Class
- MachineNameTest
- @coversDefaultClass \Drupal\Core\Render\Element\MachineName[[api-linebreak]] @group Render
Namespace
Drupal\KernelTests\Core\Render\ElementCode
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.