You are here

public function FormSubmitterTest::providerTestHandleFormSubmissionWithResponses in Drupal 8

Same name and namespace in other branches
  1. 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',
    ],
  ];
}