function DatetimeFormElementTest::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/ Datetime/ Element/ DatetimeFormElementTest.php, line 86
Class
- DatetimeFormElementTest
- Tests static callbacks returns and form submission with datetime elements.
Namespace
Drupal\KernelTests\Core\Datetime\ElementCode
public function validateForm(array &$form, FormStateInterface $form_state) : void {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.