Search for validateForm

  1. Search 7.x for validateForm
  2. Search 9.5.x for validateForm
  3. Search 8.9.x for validateForm
  4. Search 10.3.x for validateForm
  5. Other projects
Title Object type File name Summary
FormBuilder::validateForm function core/lib/Drupal/Core/Form/FormBuilder.php Validates user-submitted form data in the $form_state.
FormController::validateForm function core/modules/system/tests/modules/condition_test/src/FormController.php Implements \Drupal\Core\Form\FormInterface::validateForm().
FormDefaultHandlersTest::customValidateForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php
FormDefaultHandlersTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Form validation handler.
FormElementMaxlengthTest::validateForm function core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php Form validation handler.
FormInterface::validateForm function core/lib/Drupal/Core/Form/FormInterface.php Form validation handler.
FormStoragePageCacheTest::testValidateFormStorageOnCachedPage function core/modules/system/tests/src/Functional/Form/FormStoragePageCacheTest.php Build-id is regenerated when validating cached form.
FormTestArgumentsObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php Form validation handler.
FormTestClickedButtonForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestClickedButtonForm.php Form validation handler.
FormTestControllerObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestControllerObject.php Form validation handler.
FormTestDetailsForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDetailsForm.php Form validation handler.
FormTestGroupVerticalTabsForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestGroupVerticalTabsForm.php Form validation handler.
FormTestObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestObject.php Form validation handler.
FormTestProgrammaticForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestProgrammaticForm.php Form validation handler.
FormTestServiceObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestServiceObject.php Form validation handler.
FormTestStorageForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php Form validation handler.
FormTestStoragePageCacheForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php Form validation handler.
FormTestValidateForm class core/modules/system/tests/modules/form_test/src/Form/FormTestValidateForm.php Form builder for testing \Drupal\Core\Form\FormValidatorInterface::validateForm().
FormTestValidateForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestValidateForm.php
FormTestValidateForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateForm.php Form constructor.
FormTestValidateForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateForm.php Returns a unique string identifying the form.
FormTestValidateForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateForm.php Form submission handler.
FormTestValidateForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateForm.php Form validation handler.
FormTestVerticalTabsAccessForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsAccessForm.php Form validation handler.
FormValidationMessageOrderTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Form validation handler.
FormValidator::doValidateForm function core/lib/Drupal/Core/Form/FormValidator.php Performs validation on form elements.
FormValidator::validateForm function core/lib/Drupal/Core/Form/FormValidator.php Validates user-submitted form data in the $form_state.
FormValidatorInterface::validateForm function core/lib/Drupal/Core/Form/FormValidatorInterface.php Validates user-submitted form data in the $form_state.
ImageEffectFormBase::validateForm function core/modules/image/src/Form/ImageEffectFormBase.php Form validation handler.
ImageToolkitForm::validateForm function core/modules/system/src/Form/ImageToolkitForm.php Form validation handler.
ImportForm::validateForm function core/modules/locale/src/Form/ImportForm.php Form validation handler.
LanguageListBuilder::validateForm function core/modules/language/src/LanguageListBuilder.php Form validation handler.
LocaleSettingsForm::validateForm function core/modules/locale/src/Form/LocaleSettingsForm.php Form validation handler.
MachineNameTest::validateForm function core/tests/Drupal/KernelTests/Core/Render/Element/MachineNameTest.php Form validation handler.
ManagedFileTest::validateForm function core/modules/file/tests/src/Kernel/ManagedFileTest.php Form validation handler.
MediaTypeForm::validateForm function core/modules/media/src/MediaTypeForm.php Form validation handler.
MenuLinkEditForm::validateForm function core/modules/menu_ui/src/Form/MenuLinkEditForm.php Form validation handler.
MessageForm::validateForm function core/modules/contact/src/MessageForm.php Button-level validation handlers are highly discouraged for entity forms,
as they will prevent entity validation from running. If the entity is going
to be saved during the form submission, this method should be manually
invoked from the button-level…
ModulesUninstallForm::validateForm function core/modules/system/src/Form/ModulesUninstallForm.php Form validation handler.
NegotiationBrowserForm::validateForm function core/modules/language/src/Form/NegotiationBrowserForm.php Form validation handler.
NegotiationUrlForm::validateForm function core/modules/language/src/Form/NegotiationUrlForm.php Form validation handler.
NestedEntityTestForm::validateForm function core/modules/field/tests/modules/field_test/src/Form/NestedEntityTestForm.php Form validation handler.
NodeTypeForm::validateForm function core/modules/node/src/NodeTypeForm.php Form validation handler.
PathElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Form validation handler.
PathWidget::validateFormElement function core/modules/path/src/Plugin/Field/FieldWidget/PathWidget.php Form element validation handler for URL alias form element.
PrepareCallbackTestForm::validateForm function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Form validation handler.
QueueSerializationTest::validateForm function core/tests/Drupal/KernelTests/Core/Queue/QueueSerializationTest.php Form validation handler.
ResponsiveImageStyleForm::validateForm function core/modules/responsive_image/src/ResponsiveImageStyleForm.php Form validation handler.
SearchPageFormBase::validateForm function core/modules/search/src/Form/SearchPageFormBase.php Form validation handler.
SearchPageListBuilder::validateForm function core/modules/search/src/SearchPageListBuilder.php Form validation handler.

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