public function BaseRedirectTest::baseRedirectDataProvider in Redirect 403 to User Login 8
Same name and namespace in other branches
- 2.x tests/src/Functional/BaseRedirectTest.php \Drupal\Tests\r4032login\Functional\BaseRedirectTest::baseRedirectDataProvider()
Data provider for testBaseRedirect.
File
- tests/
src/ Functional/ BaseRedirectTest.php, line 42
Class
- BaseRedirectTest
- Test normal redirection from 403 to login page.
Namespace
Drupal\Tests\r4032login\FunctionalCode
public function baseRedirectDataProvider() {
return [
[
'admin/config',
200,
'user/login',
],
[
'admin/modules',
200,
'user/login',
],
];
}