Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
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 @coversDefaultClass \Drupal\Core\Form\FormSubmitter[[api-linebreak]]
@group Form
FormSubmitterTest.php file core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php
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 @covers ::executeSubmitHandlers[[api-linebreak]]
FormSubmitterTest::testHandleFormSubmissionNoRedirect function core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php @covers ::doSubmitForm[[api-linebreak]]
FormSubmitterTest::testHandleFormSubmissionNotSubmitted function core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php @covers ::doSubmitForm[[api-linebreak]]
FormSubmitterTest::testHandleFormSubmissionWithResponses function core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php @covers ::doSubmitForm[[api-linebreak]]
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
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
FormTest::testFieldFormSingleRequired function core/modules/field/tests/src/Functional/FormTest.php
FormTest::testFieldFormUnlimited function core/modules/field/tests/src/Functional/FormTest.php
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.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.