30 methods override FormInterface::validateForm()

ActionsTest::validateForm in core/tests/Drupal/KernelTests/Core/Render/Element/ActionsTest.php
Form validation handler.
AjaxFormBlock::validateForm in core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php
Form validation handler.
AjaxTestMessageCommandForm::validateForm in core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestMessageCommandForm.php
Form validation handler.
BasicFormNoContainerInjectionInterface::validateForm in core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
Form validation handler.
BlockListBuilder::validateForm in core/modules/block/src/BlockListBuilder.php
Form validation handler.
ContentEntityFormInterface::validateForm in core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php
Note that extending classes should not override this method to add entity validation logic, but define further validation constraints using the entity validation API and/or provide a new validation constraint if necessary. This is the only way to…
DatetimeElementFormTest::validateForm in core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
Form validation handler.
DateTimeFormInjectionTest::validateForm in core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php
Form validation handler.
DbLogFormInjectionTest::validateForm in core/modules/dblog/tests/src/Kernel/DbLogFormInjectionTest.php
Form validation handler.
DraggableListBuilder::validateForm in core/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php
Form validation handler.
EntityAutocompleteElementFormTest::validateForm in core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
Form validation handler.
ExternalFormUrlTest::validateForm in core/tests/Drupal/KernelTests/Core/Form/ExternalFormUrlTest.php
Form validation handler.
FileTestForm::validateForm in core/modules/file/tests/file_test/src/Form/FileTestForm.php
Form validation handler.
FormActionXssTest::validateForm in core/tests/Drupal/KernelTests/Core/Form/FormActionXssTest.php
Form validation handler.
FormBase::validateForm in core/lib/Drupal/Core/Form/FormBase.php
Form validation handler.
FormController::validateForm in core/modules/system/tests/modules/condition_test/src/FormController.php
Implements \Drupal\Core\Form\FormInterface::validateForm().
FormDefaultHandlersTest::validateForm in core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php
Form validation handler.
FormElementMaxlengthTest::validateForm in core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php
Form validation handler.
FormValidationMessageOrderTest::validateForm in core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php
Form validation handler.
PathElementFormTest::validateForm in core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php
Form validation handler.
PrepareCallbackTestForm::validateForm in core/tests/Drupal/Tests/Core/Form/FormStateTest.php
Form validation handler.
QueueSerializationTest::validateForm in core/tests/Drupal/KernelTests/Core/Queue/QueueSerializationTest.php
Form validation handler.
TestForm::validateForm in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Form validation handler.
TestFormApiFormBlock::validateForm in core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php
Form validation handler.
TextFormatElementFormTest::validateForm in core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php
Form validation handler.
TimezoneTest::validateForm in core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php
Form validation handler.
TriggeringElementProgrammedTest::validateForm in core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php
Form validation handler.
ViewsForm::validateForm in core/modules/views/src/Form/ViewsForm.php
Form validation handler.
ViewsFormMainForm::validateForm in core/modules/views/src/Form/ViewsFormMainForm.php
Form validation handler.
ViewsTestDataErrorForm::validateForm in core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataErrorForm.php
Form validation handler.

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