Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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. |
| FormValuesTest | class | core/ |
Tests that form values are properly delivered to AJAX callbacks. |
| FormValuesTest.php | file | core/ |
|
| FormValuesTest::$defaultTheme | property | core/ |
|
| FormValuesTest::$modules | property | core/ |
|
| FormValuesTest::setUp | function | core/ |
|
| FormValuesTest::testSimpleAjaxFormValue | function | core/ |
Submits forms with select and checkbox elements via Ajax. |
| form_ajax_response_builder | service | core/ |
Drupal\Core\Form\FormAjaxResponseBuilder |
| form_ajax_subscriber | service | core/ |
Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber |
| form_base_test.inc | file | core/ |
Functions in the global namespace for \Drupal\Tests\Core\Form\FormTestBase. |
| form_builder | service | core/ |
Drupal\Core\Form\FormBuilder |
| form_cache | service | core/ |
Drupal\Core\Form\FormCache |
| form_error_handler | service | core/ |
Drupal\Core\Form\FormErrorHandler |
| form_get_options | function | core/ |
Returns the indexes of a select element's options matching a given key. |
| form_select_options | function | core/ |
Converts the options in a select element into a structured array for output. |
| form_submitter | service | core/ |
Drupal\Core\Form\FormSubmitter |
| form_test.event_subscriber | service | core/ |
Drupal\form_test\EventSubscriber\FormTestEventSubscriber |
| form_test.form.serviceform | service | core/ |
Drupal\form_test\FormTestServiceObject |
| form_test.http_middleware | service | core/ |
Drupal\form_test\StackMiddleware\FormTestMiddleware |
| form_test.info.yml | file | core/ |
core/modules/system/tests/modules/form_test/form_test.info.yml |
| form_test.module | file | core/ |
Helper module for the form API tests. |
| form_test.permissions.yml | file | core/ |
core/modules/system/tests/modules/form_test/form_test.permissions.yml |
| form_test.routing.yml | file | core/ |
core/modules/system/tests/modules/form_test/form_test.routing.yml |
| form_test.schema.yml | file | core/ |
core/modules/system/tests/modules/form_test/config/schema/form_test.schema.yml |
| form_test.services.yml | file | core/ |
core/modules/system/tests/modules/form_test/form_test.services.yml |
| form_test_form_alter | function | core/ |
Implements hook_form_alter(). |
Pagination
- Previous page
- Page 709
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.