function FormSubmitterTest::providerTestHandleFormSubmissionWithResponses

File

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

Class

FormSubmitterTest
Tests Drupal\Core\Form\FormSubmitter.

Namespace

Drupal\Tests\Core\Form

Code

public static function providerTestHandleFormSubmissionWithResponses() {
  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.