Search for test
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Test | class | core/ |
Provides test media source. |
| Test | class | core/ |
Defines a test controller for page titles. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| FormTestVerticalTabsForm.php | file | core/ |
|
| FormTestVerticalTabsForm::buildForm | function | core/ |
Form constructor. |
| FormTestVerticalTabsForm::getFormId | function | core/ |
Returns a unique string identifying the form. |
| FormTestVerticalTabsForm::submitForm | function | core/ |
Form submission handler. |
| FormValidationMessageOrderTest | class | core/ |
Tests form validation messages are displayed in the same order as the fields. |
| FormValidationMessageOrderTest.php | file | core/ |
|
| FormValidationMessageOrderTest::buildForm | function | core/ |
Form constructor. |
| FormValidationMessageOrderTest::getFormId | function | core/ |
Returns a unique string identifying the form. |
| FormValidationMessageOrderTest::submitForm | function | core/ |
Form submission handler. |
| FormValidationMessageOrderTest::testValidationErrorMessagesSortedWithWeight | function | core/ |
Tests that fields validation messages are sorted in the fields order. |
| FormValidationMessageOrderTest::validateForm | function | core/ |
Form validation handler. |
| 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 | class | core/ |
Tests that form values are properly delivered to AJAX callbacks. |
| FormValuesTest.php | file | core/ |
|
| FormValuesTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| FormValuesTest::$modules | property | core/ |
Modules to install. |
| FormValuesTest::formModeProvider | function | core/ |
Data provider for testSimpleAjaxFormValue. |
| FormValuesTest::setUp | function | core/ |
|
| FormValuesTest::testSimpleAjaxFormValue | function | core/ |
Submits forms with select and checkbox elements via Ajax. |
| FormValuesTest::testSimpleInvalidCallbacksAjaxFormValue | function | core/ |
Tests that AJAX elements with invalid callbacks return error code 500. |
| form_base_test.inc | file | core/ |
|
| form_test.event_subscriber | service | core/ |
Drupal\form_test\EventSubscriber\FormTestEventSubscriber |
| form_test.form.service_form | 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 |
Pagination
- Previous page
- Page 339
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.