You are here

public function FormSubmitterTest::providerTestHandleFormSubmissionWithResponses in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php \Drupal\Tests\Core\Form\FormSubmitterTest::providerTestHandleFormSubmissionWithResponses()
  2. 9 core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php \Drupal\Tests\Core\Form\FormSubmitterTest::providerTestHandleFormSubmissionWithResponses()

File

core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php, line 96

Class

FormSubmitterTest
@coversDefaultClass \Drupal\Core\Form\FormSubmitter @group Form

Namespace

Drupal\Tests\Core\Form

Code

public function providerTestHandleFormSubmissionWithResponses() {
  return [
    [
      'Symfony\\Component\\HttpFoundation\\Response',
      'response',
    ],
    [
      'Symfony\\Component\\HttpFoundation\\RedirectResponse',
      'redirect',
    ],
  ];
}