Search for valid
| Title | Object type | File name | Summary |
|---|---|---|---|
| FormValidator | class | core/ |
Provides validation of form submissions. |
| FormValidator.php | file | core/ |
|
| FormValidator::$csrfToken | property | core/ |
The CSRF token generator to validate the form token. |
| FormValidator::$formErrorHandler | property | core/ |
The form error handler. |
| FormValidator::$logger | property | core/ |
A logger instance. |
| FormValidator::$requestStack | property | core/ |
The request stack. |
| FormValidator::determineLimitValidationErrors | function | core/ |
Determines if validation errors should be limited. |
| FormValidator::doValidateForm | function | core/ |
Performs validation on form elements. |
| FormValidator::executeValidateHandlers | function | core/ |
Executes custom validation handlers for a given form. |
| FormValidator::finalizeValidation | function | core/ |
Finalizes validation. |
| FormValidator::handleErrorsWithLimitedValidation | function | core/ |
Handles validation errors for forms with limited validation. |
| FormValidator::performRequiredValidation | function | core/ |
Performs validation of elements that are not subject to limited validation. |
| FormValidator::setInvalidTokenError | function | core/ |
Sets a form_token error on the given form state. |
| FormValidator::validateForm | function | core/ |
Validates user-submitted form data in the $form_state. |
| FormValidator::__construct | function | core/ |
Constructs a new FormValidator. |
| FormValidatorInterface | interface | core/ |
Provides an interface for validating form submissions. |
| FormValidatorInterface.php | file | core/ |
|
| FormValidatorInterface::executeValidateHandlers | function | core/ |
Executes custom validation handlers for a given form. |
| FormValidatorInterface::setInvalidTokenError | function | core/ |
Sets a form_token error on the given form state. |
| FormValidatorInterface::validateForm | function | core/ |
Validates user-submitted form data in the $form_state. |
| FormValidatorTest | class | core/ |
@coversDefaultClass \Drupal\Core\Form\FormValidator[[api-linebreak]] @group Form |
| FormValidatorTest.php | file | core/ |
|
| FormValidatorTest::$csrfToken | property | core/ |
The CSRF token generator to validate the form token. |
| FormValidatorTest::$formErrorHandler | property | core/ |
The form error handler. |
| FormValidatorTest::$logger | property | core/ |
A logger instance. |
| FormValidatorTest::providerTestHandleErrorsWithLimitedValidation | function | core/ |
|
| FormValidatorTest::providerTestPerformRequiredValidation | function | core/ |
|
| FormValidatorTest::providerTestRequiredErrorMessage | function | core/ |
|
| FormValidatorTest::setUp | function | core/ |
|
| FormValidatorTest::testElementValidate | function | core/ |
@covers ::doValidateForm[[api-linebreak]] |
| FormValidatorTest::testExecuteValidateHandlers | function | core/ |
@covers ::executeValidateHandlers[[api-linebreak]] |
| FormValidatorTest::testHandleErrorsWithLimitedValidation | function | core/ |
@covers ::handleErrorsWithLimitedValidation[[api-linebreak]] |
| FormValidatorTest::testMustValidate | function | core/ |
Tests the 'must_validate' $form_state flag. |
| FormValidatorTest::testPerformRequiredValidation | function | core/ |
@covers ::performRequiredValidation[[api-linebreak]] |
| FormValidatorTest::testPreventDuplicateValidation | function | core/ |
Tests the 'must_validate' $form_state flag. |
| FormValidatorTest::testRequiredErrorMessage | function | core/ |
@covers ::doValidateForm[[api-linebreak]] |
| FormValidatorTest::testValidateInvalidFormToken | function | core/ |
@covers ::validateForm[[api-linebreak]] |
| FormValidatorTest::testValidateValidFormToken | function | core/ |
@covers ::validateForm[[api-linebreak]] |
| FormValidatorTest::testValidationComplete | function | core/ |
Tests the 'validation_complete' $form_state flag. |
| FormValidatorTestMockInterface | interface | core/ |
Interface used in the mocking process of this test. |
| FormValidatorTestMockInterface::element_validate | function | core/ |
Function used in the mocking process of this test. |
| FormValidatorTestMockInterface::hash_validate | function | core/ |
Function used in the mocking process of this test. |
| FormValidatorTestMockInterface::validate_handler | function | core/ |
Function used in the mocking process of this test. |
| FormValuesTest::testSimpleInvalidCallbacksAjaxFormValue | function | core/ |
Tests that AJAX elements with invalid callbacks return error code 500. |
| form_validator | service | core/ |
Drupal\Core\Form\FormValidator |
| forum.uninstall_validator | service | core/ |
Drupal\forum\ForumUninstallValidator |
| ForumLeafConstraintValidator | class | core/ |
Validates the ForumLeaf constraint. |
| ForumLeafConstraintValidator.php | file | core/ |
|
| ForumLeafConstraintValidator::validate | function | core/ |
|
| ForumUninstallValidator | class | core/ |
Provides a proxy class for \Drupal\forum\ForumUninstallValidator. |
Pagination
- Previous page
- Page 31
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.