function FormSubmitterTest::providerTestHandleFormSubmissionWithResponses

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php \Drupal\Tests\Core\Form\FormSubmitterTest::providerTestHandleFormSubmissionWithResponses()
  2. 10 core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php \Drupal\Tests\Core\Form\FormSubmitterTest::providerTestHandleFormSubmissionWithResponses()
  3. 9 core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php \Drupal\Tests\Core\Form\FormSubmitterTest::providerTestHandleFormSubmissionWithResponses()
  4. 8.9.x core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php \Drupal\Tests\Core\Form\FormSubmitterTest::providerTestHandleFormSubmissionWithResponses()

File

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

Class

FormSubmitterTest
Tests Drupal\Core\Form\FormSubmitter.

Namespace

Drupal\Tests\Core\Form

Code

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

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