Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 8.9.x for valid
  4. Search 11.x for valid
  5. Other projects
Title Object type File name Summary
FormTestMachineNameValidationForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestMachineNameValidationForm.php Form submission 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.
FormTestRangeInvalidForm class core/modules/system/tests/modules/form_test/src/Form/FormTestRangeInvalidForm.php Form constructor for testing invalid #type 'range' elements.
FormTestRangeInvalidForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestRangeInvalidForm.php
FormTestRangeInvalidForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestRangeInvalidForm.php Form constructor.
FormTestRangeInvalidForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestRangeInvalidForm.php Returns a unique string identifying the form.
FormTestRangeInvalidForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestRangeInvalidForm.php Form submission handler.
FormTestServiceObject::validateForm function core/modules/system/tests/modules/form_test/src/FormTestServiceObject.php Form validation handler.
FormTestStorageForm::elementValidateValueCached function core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php Form element validation handler for 'value' element.
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.
FormTestValidateNoToken class core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php Form to test the validation of forms with a disabled CSRF token.
FormTestValidateNoToken.php file core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php
FormTestValidateNoToken::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php Form constructor.
FormTestValidateNoToken::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php Returns a unique string identifying the form.
FormTestValidateNoToken::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateNoToken.php Form submission handler.
FormTestValidateRequiredForm class core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php Form constructor to test the #required property.
FormTestValidateRequiredForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php
FormTestValidateRequiredForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php Form constructor.
FormTestValidateRequiredForm::elementValidateRequired function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php
FormTestValidateRequiredForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php Returns a unique string identifying the form.
FormTestValidateRequiredForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php Form submission handler.
FormTestValidateRequiredNoTitleForm class core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredNoTitleForm.php Form constructor to test the #required property without #title.
FormTestValidateRequiredNoTitleForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredNoTitleForm.php
FormTestValidateRequiredNoTitleForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredNoTitleForm.php Form constructor.
FormTestValidateRequiredNoTitleForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredNoTitleForm.php Returns a unique string identifying the form.
FormTestValidateRequiredNoTitleForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredNoTitleForm.php Form submission handler.
FormTestVerticalTabsAccessForm::validateForm function core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsAccessForm.php Form validation handler.
FormUploadedFile::isValid function core/modules/file/src/Upload/FormUploadedFile.php Returns whether the file was uploaded successfully.
FormUploadedFile::validate function core/modules/file/src/Upload/FormUploadedFile.php Validates the uploaded file information.
FormValidationMessageOrderTest class core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Tests form validation messages are displayed in the same order as the fields.
FormValidationMessageOrderTest.php file core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php
FormValidationMessageOrderTest::buildForm function core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Form constructor.
FormValidationMessageOrderTest::getFormId function core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Returns a unique string identifying the form.
FormValidationMessageOrderTest::submitForm function core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Form submission handler.
FormValidationMessageOrderTest::testValidationErrorMessagesSortedWithWeight function core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Tests that fields validation messages are sorted in the fields order.
FormValidationMessageOrderTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Form validation handler.
FormValidator class core/lib/Drupal/Core/Form/FormValidator.php Provides validation of form submissions.
FormValidator.php file core/lib/Drupal/Core/Form/FormValidator.php
FormValidator::$csrfToken property core/lib/Drupal/Core/Form/FormValidator.php The CSRF token generator to validate the form token.
FormValidator::$formErrorHandler property core/lib/Drupal/Core/Form/FormValidator.php The form error handler.
FormValidator::$logger property core/lib/Drupal/Core/Form/FormValidator.php A logger instance.
FormValidator::$requestStack property core/lib/Drupal/Core/Form/FormValidator.php The request stack.

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