Search for forms
- Search 7.x for forms
- Search 8.9.x for forms
- Search 10.3.x for forms
- Search 11.x for forms
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| FormSubmitterInterface | interface | core/ |
Provides an interface for processing form submissions. |
| FormSubmitterInterface.php | file | core/ |
|
| FormSubmitterInterface::doSubmitForm | function | core/ |
Handles the submitted form, executing callbacks and processing responses. |
| FormSubmitterInterface::executeSubmitHandlers | function | core/ |
Executes custom submission handlers for a given form. |
| FormSubmitterInterface::redirectForm | function | core/ |
Redirects the user to a URL after a form has been processed. |
| FormSubmitterTest | class | core/ |
@coversDefaultClass \Drupal\Core\Form\FormSubmitter[[api-linebreak]] @group Form |
| FormSubmitterTest.php | file | core/ |
|
| FormSubmitterTest::$unroutedUrlAssembler | property | core/ |
The mocked unrouted URL assembler. |
| FormSubmitterTest::$urlGenerator | property | core/ |
The mocked URL generator. |
| FormSubmitterTest::getFormSubmitter | function | core/ |
|
| FormSubmitterTest::providerTestHandleFormSubmissionWithResponses | function | core/ |
|
| FormSubmitterTest::providerTestRedirectWithUrl | function | core/ |
Provides test data for testing the redirectForm() method with a route name. |
| FormSubmitterTest::setUp | function | core/ |
|
| FormSubmitterTest::testExecuteSubmitHandlers | function | core/ |
@covers ::executeSubmitHandlers[[api-linebreak]] |
| FormSubmitterTest::testHandleFormSubmissionNoRedirect | function | core/ |
@covers ::doSubmitForm[[api-linebreak]] |
| FormSubmitterTest::testHandleFormSubmissionNotSubmitted | function | core/ |
@covers ::doSubmitForm[[api-linebreak]] |
| FormSubmitterTest::testHandleFormSubmissionWithResponses | function | core/ |
@covers ::doSubmitForm[[api-linebreak]] |
| FormSubmitterTest::testRedirectWithNull | function | core/ |
Tests the redirectForm() method when the redirect is NULL. |
| FormSubmitterTest::testRedirectWithoutResult | function | core/ |
Tests the redirectForm() method when no redirect is expected. |
| FormSubmitterTest::testRedirectWithResponseObject | function | core/ |
Tests the redirectForm() method with a response object. |
| FormSubmitterTest::testRedirectWithUrl | function | core/ |
Tests redirectForm() when a redirect is a Url object. |
| FormTest::testFieldFormSingle | function | core/ |
|
| FormTest::testFieldFormSingleRequired | function | core/ |
|
| FormTest::testGetFormsCsrfToken | function | core/ |
CSRF tokens for GET forms should not be added by default. |
| FormTestBase::$formSubmitter | property | core/ |
|
| FormTestBase::simulateFormSubmission | function | core/ |
Simulates a form submission within a request, bypassing submitForm(). |
| FormTestFormStateValuesCleanAdvancedForm | class | core/ |
Form builder for \Drupal\Core\Form\FormState::cleanValues() test. |
| FormTestFormStateValuesCleanAdvancedForm.php | file | core/ |
|
| FormTestFormStateValuesCleanAdvancedForm::buildForm | function | core/ |
Form constructor. |
| FormTestFormStateValuesCleanAdvancedForm::getFormId | function | core/ |
Returns a unique string identifying the form. |
| FormTestFormStateValuesCleanAdvancedForm::submitForm | function | core/ |
Form submission handler. |
| FormTestFormStateValuesCleanForm | class | core/ |
Form builder for \Drupal\Core\Form\FormState::cleanValues() test. |
| FormTestFormStateValuesCleanForm.php | file | core/ |
|
| FormTestFormStateValuesCleanForm::buildForm | function | core/ |
Form constructor. |
| FormTestFormStateValuesCleanForm::cleanValue | function | core/ |
Helper function to clean a value on an element. |
| FormTestFormStateValuesCleanForm::getFormId | function | core/ |
Returns a unique string identifying the form. |
| FormTestFormStateValuesCleanForm::submitForm | function | core/ |
Form submission handler. |
| FormTestMachineNameValidationForm::buildAjaxSnackConfigureFormSubmit | function | core/ |
Submit callback that forces a form rebuild. |
| GetTest::testTransformSourceArray | function | core/ |
Tests the Get plugin when source is an array. |
| GetTest::testTransformSourceArrayAt | function | core/ |
Tests the Get plugin when source is an array pointing to destination. |
| GetTest::testTransformSourceString | function | core/ |
Tests the Get plugin when source is a string. |
| GetTest::testTransformSourceStringAt | function | core/ |
Tests the Get plugin when source is a string pointing to destination. |
| LayoutBuilderDisableInteractionsTest::testFormsLinksDisabled | function | core/ |
Tests that forms and links are disabled in the Layout Builder preview. |
| LegacyFileTest::testFileSaveUploadSingleErrorFormSize | function | core/ |
Tests file size upload errors. |
| LinkFieldFormStatesTest | class | core/ |
Tests link field form states functionality. |
| LinkFieldFormStatesTest.php | file | core/ |
|
| LinkFieldFormStatesTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| LinkFieldFormStatesTest::$modules | property | core/ |
Modules to enable. |
| LinkFieldFormStatesTest::linkFieldFormStatesData | function | core/ |
Provides data for ::testLinkFieldJSFormStates. |
| LinkFieldFormStatesTest::setUp | function | core/ |
Pagination
- Previous page
- Page 13
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.