public function DurationElementStatesTestForm::validateForm in Duration Field 3.0.x
Same name and namespace in other branches
- 8.2 tests/modules/duration_field_form_test/src/Form/DurationElementStatesTestForm.php \Drupal\duration_field_form_test\Form\DurationElementStatesTestForm::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
- tests/
modules/ duration_field_form_test/ src/ Form/ DurationElementStatesTestForm.php, line 57
Class
- DurationElementStatesTestForm
- Form for testing JavaScript #states behavior on 'duration' elements.
Namespace
Drupal\duration_field_form_test\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
}