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 10.3.x for valid
  5. Other projects
Title Object type File name Summary
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::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.
FormValidator::determineLimitValidationErrors function core/lib/Drupal/Core/Form/FormValidator.php Determines if validation errors should be limited.
FormValidator::doValidateForm function core/lib/Drupal/Core/Form/FormValidator.php Performs validation on form elements.
FormValidator::executeValidateHandlers function core/lib/Drupal/Core/Form/FormValidator.php Executes custom validation handlers for a given form.
FormValidator::finalizeValidation function core/lib/Drupal/Core/Form/FormValidator.php Finalizes validation.
FormValidator::handleErrorsWithLimitedValidation function core/lib/Drupal/Core/Form/FormValidator.php Handles validation errors for forms with limited validation.
FormValidator::performRequiredValidation function core/lib/Drupal/Core/Form/FormValidator.php Performs validation of elements that are not subject to limited validation.
FormValidator::setInvalidTokenError function core/lib/Drupal/Core/Form/FormValidator.php Sets a form_token error on the given form state.
FormValidator::validateForm function core/lib/Drupal/Core/Form/FormValidator.php Validates user-submitted form data in the $form_state.
FormValidator::__construct function core/lib/Drupal/Core/Form/FormValidator.php Constructs a new FormValidator.
FormValidatorInterface interface core/lib/Drupal/Core/Form/FormValidatorInterface.php Provides an interface for validating form submissions.
FormValidatorInterface.php file core/lib/Drupal/Core/Form/FormValidatorInterface.php
FormValidatorInterface::executeValidateHandlers function core/lib/Drupal/Core/Form/FormValidatorInterface.php Executes custom validation handlers for a given form.
FormValidatorInterface::setInvalidTokenError function core/lib/Drupal/Core/Form/FormValidatorInterface.php Sets a form_token error on the given form state.
FormValidatorInterface::validateForm function core/lib/Drupal/Core/Form/FormValidatorInterface.php Validates user-submitted form data in the $form_state.
FormValidatorTest class core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @coversDefaultClass \Drupal\Core\Form\FormValidator
@group Form
FormValidatorTest.php file core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::$csrfToken property core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php The CSRF token generator to validate the form token.
FormValidatorTest::$formErrorHandler property core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php The form error handler.
FormValidatorTest::$logger property core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php A logger instance.
FormValidatorTest::providerTestHandleErrorsWithLimitedValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::providerTestPerformRequiredValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::providerTestRequiredErrorMessage function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php

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