| FormSubmitterInterface::redirectForm |
function |
core/lib/Drupal/Core/Form/FormSubmitterInterface.php |
Redirects the user to a URL after a form has been processed. |
| FormSubmitterTest |
class |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
Tests Drupal\Core\Form\FormSubmitter. |
| FormSubmitterTest.php |
file |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
|
| FormSubmitterTest::$callableResolver |
property |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
The callable resolver. |
| FormSubmitterTest::$redirectResponseSubscriber |
property |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
|
| FormSubmitterTest::$unroutedUrlAssembler |
property |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
The mocked unrouted URL assembler. |
| FormSubmitterTest::$urlGenerator |
property |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
The mocked URL generator. |
| FormSubmitterTest::getFormSubmitter |
function |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
|
| FormSubmitterTest::providerTestHandleFormSubmissionWithResponses |
function |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
|
| FormSubmitterTest::providerTestRedirectWithUrl |
function |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
Provides test data for testing the redirectForm() method with a route name. |
| FormSubmitterTest::setUp |
function |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
|
| FormSubmitterTest::testExecuteSubmitHandlers |
function |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
Tests execute submit handlers. |
| FormSubmitterTest::testHandleFormSubmissionNoRedirect |
function |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
Tests handle form submission no redirect. |
| FormSubmitterTest::testHandleFormSubmissionNotSubmitted |
function |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
Tests handle form submission not submitted. |
| FormSubmitterTest::testHandleFormSubmissionWithResponses |
function |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
Tests handle form submission with responses. |
| FormSubmitterTest::testRedirectWithNull |
function |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
Tests the redirectForm() method when the redirect is NULL. |
| FormSubmitterTest::testRedirectWithoutResult |
function |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
Tests the redirectForm() method when no redirect is expected. |
| FormSubmitterTest::testRedirectWithResponseObject |
function |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
Tests the redirectForm() method with a response object. |
| FormSubmitterTest::testRedirectWithUrl |
function |
core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php |
Tests redirectForm() when a redirect is a Url object. |
| FormTest |
class |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests various form element validation mechanisms. |
| FormTest |
class |
core/modules/field/tests/src/Functional/FormTest.php |
Tests field form handling. |
| FormTest.php |
file |
core/modules/field/tests/src/Functional/FormTest.php |
|
| FormTest.php |
file |
core/modules/system/tests/src/Functional/Form/FormTest.php |
|
| FormTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Form/FormTest.php |
The theme to install as the default for testing. |
| FormTest::$defaultTheme |
property |
core/modules/field/tests/src/Functional/FormTest.php |
The theme to install as the default for testing. |
| FormTest::$field |
property |
core/modules/field/tests/src/Functional/FormTest.php |
An array of values defining a field. |
| FormTest::$fieldStorageSingle |
property |
core/modules/field/tests/src/Functional/FormTest.php |
An array of values defining a field single. |
| FormTest::$fieldStorageUnlimited |
property |
core/modules/field/tests/src/Functional/FormTest.php |
An array of values defining a field with unlimited cardinality. |
| FormTest::$modules |
property |
core/modules/field/tests/src/Functional/FormTest.php |
Modules to install. |
| FormTest::$modules |
property |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Modules to install. |
| FormTest::assertFormValuesDefault |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Assert that the values submitted to a form matches the default values of the elements. |
| FormTest::setUp |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
|
| FormTest::setUp |
function |
core/modules/field/tests/src/Functional/FormTest.php |
|
| FormTest::testCheckboxProcessing |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests default value handling for checkboxes. |
| FormTest::testColorValidation |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests validation of #type 'color' elements. |
| FormTest::testDisabledElements |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests handling of disabled elements. |
| FormTest::testDisabledMarkup |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Verify markup for disabled form elements. |
| FormTest::testEmptySelect |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests a select element when #options is not set. |
| FormTest::testFieldFormAccess |
function |
core/modules/field/tests/src/Functional/FormTest.php |
Tests fields with no 'edit' access. |
| FormTest::testFieldFormDefaultValue |
function |
core/modules/field/tests/src/Functional/FormTest.php |
Tests field widget default values on entity forms. |
| FormTest::testFieldFormMultivalueWithRequiredRadio |
function |
core/modules/field/tests/src/Functional/FormTest.php |
Tests widget handling of multiple required radios. |
| FormTest::testFieldFormSingle |
function |
core/modules/field/tests/src/Functional/FormTest.php |
Tests the single-value field form functionality. |
| FormTest::testFieldFormSingleRequired |
function |
core/modules/field/tests/src/Functional/FormTest.php |
Tests the required single-value field form. |
| FormTest::testFieldFormUnlimited |
function |
core/modules/field/tests/src/Functional/FormTest.php |
Tests the unlimited-value field form. |
| FormTest::testFieldFormUnlimitedRequired |
function |
core/modules/field/tests/src/Functional/FormTest.php |
Tests the position of the required label. |
| FormTest::testGetFormsCsrfToken |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
CSRF tokens for GET forms should not be added by default. |
| FormTest::testHiddenField |
function |
core/modules/field/tests/src/Functional/FormTest.php |
Tests hiding a field in a form. |
| FormTest::testInputForgery |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests Form API protections against input forgery. |
| FormTest::testInputWithInvalidToken |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests that input is retained for safe elements even with an invalid token. |
| FormTest::testLabelOnMultiValueFields |
function |
core/modules/field/tests/src/Functional/FormTest.php |
Tests the form display of the label for multi-value fields. |