| 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 |
|
| 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 |
|
| 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. |
| FormTest::testNumber |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests validation of #type 'number' and 'range' elements. |
| FormTest::testRange |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests default value handling of #type 'range' elements. |
| FormTest::testRequiredAttribute |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests required attribute. |
| FormTest::testRequiredCheckboxesRadio |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests validation for required checkbox, select, and radio elements. |
| FormTest::testRequiredFields |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Check several empty values for required forms elements. |
| FormTest::testRequiredTextfieldNoTitle |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests validation for required textfield element without title. |
| FormTest::testSelect |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests validation of #type 'select' elements. |
| FormTest::testSelectSorting |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests sorting and not sorting of options in a select element. |
| FormTest::validateSelectSorting |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Validates that the options are in the right order in a select. |