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
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
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
FormValidator::validateForm function core/lib/Drupal/Core/Form/FormValidator.php
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
FormValidatorTest::setUp function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::testElementValidate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::doValidateForm
FormValidatorTest::testExecuteValidateHandlers function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::executeValidateHandlers
FormValidatorTest::testHandleErrorsWithLimitedValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::handleErrorsWithLimitedValidation
FormValidatorTest::testMustValidate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Tests the 'must_validate' $form_state flag.
FormValidatorTest::testPerformRequiredValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::performRequiredValidation
FormValidatorTest::testPreventDuplicateValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Tests the 'must_validate' $form_state flag.
FormValidatorTest::testRequiredErrorMessage function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::doValidateForm
FormValidatorTest::testValidateInvalidFormToken function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::validateForm
FormValidatorTest::testValidateValidFormToken function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::validateForm
FormValidatorTest::testValidationComplete function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Tests the 'validation_complete' $form_state flag.
FormValidatorTestMockInterface interface core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Interface used in the mocking process of this test.
FormValidatorTestMockInterface::element_validate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Function used in the mocking process of this test.
FormValidatorTestMockInterface::hash_validate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Function used in the mocking process of this test.
FormValidatorTestMockInterface::validate_handler function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Function used in the mocking process of this test.
FormValuesTest::testSimpleInvalidCallbacksAjaxFormValue function core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php Tests that AJAX elements with invalid callbacks return error code 500.
form_validator service core/core.services.yml Drupal\Core\Form\FormValidator
forum.uninstall_validator service core/modules/forum/forum.services.yml Drupal\forum\ForumUninstallValidator
ForumLeafConstraintValidator class core/modules/forum/src/Plugin/Validation/Constraint/ForumLeafConstraintValidator.php Validates the ForumLeaf constraint.
ForumLeafConstraintValidator.php file core/modules/forum/src/Plugin/Validation/Constraint/ForumLeafConstraintValidator.php
ForumLeafConstraintValidator::validate function core/modules/forum/src/Plugin/Validation/Constraint/ForumLeafConstraintValidator.php
ForumUninstallValidator class core/modules/forum/src/ProxyClass/ForumUninstallValidator.php Provides a proxy class for \Drupal\forum\ForumUninstallValidator.
ForumUninstallValidator class core/modules/forum/src/ForumUninstallValidator.php Prevents forum module from being uninstalled under certain conditions.
ForumUninstallValidator.php file core/modules/forum/src/ProxyClass/ForumUninstallValidator.php
ForumUninstallValidator.php file core/modules/forum/src/ForumUninstallValidator.php
ForumUninstallValidator::$configFactory property core/modules/forum/src/ForumUninstallValidator.php The config factory.
ForumUninstallValidator::$container property core/modules/forum/src/ProxyClass/ForumUninstallValidator.php The service container.
ForumUninstallValidator::$drupalProxyOriginalServiceId property core/modules/forum/src/ProxyClass/ForumUninstallValidator.php The id of the original proxied service.

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