You are here

public function DestinationParameterOverrideTest::destinationParameterOverrideDataProvider in Redirect 403 to User Login 8

Same name and namespace in other branches
  1. 2.x tests/src/Functional/DestinationParameterOverrideTest.php \Drupal\Tests\r4032login\Functional\DestinationParameterOverrideTest::destinationParameterOverrideDataProvider()

Data provider for testDestinationParameterOverride.

File

tests/src/Functional/DestinationParameterOverrideTest.php, line 50

Class

DestinationParameterOverrideTest
Test that it is possible to override the destination parameter.

Namespace

Drupal\Tests\r4032login\Functional

Code

public function destinationParameterOverrideDataProvider() {
  return [
    [
      'admin/config',
      'user/login?customDestination=admin/config',
    ],
    [
      'admin/modules',
      'user/login?customDestination=admin/modules',
    ],
  ];
}