You are here

public function ChangeLoginFormPathTest::changeLoginFormPathDataProvider in Redirect 403 to User Login 2.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/ChangeLoginFormPathTest.php \Drupal\Tests\r4032login\Functional\ChangeLoginFormPathTest::changeLoginFormPathDataProvider()

Data provider for testChangeLoginFormPath.

File

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

Class

ChangeLoginFormPathTest
Test that it is possible to change the path to the user login form.

Namespace

Drupal\Tests\r4032login\Functional

Code

public function changeLoginFormPathDataProvider() {
  return [
    [
      '/user/customLogin',
      'admin/config',
      'user/customLogin',
    ],
    [
      'https://www.drupal.org/user/login',
      'admin/config',
      'https://www.drupal.org/user/login',
    ],
  ];
}