public function UserLocalTasksTest::getUserLoginRoutes in Drupal 10
Same name and namespace in other branches
- 8 core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php \Drupal\Tests\user\Unit\Menu\UserLocalTasksTest::getUserLoginRoutes()
- 9 core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php \Drupal\Tests\user\Unit\Menu\UserLocalTasksTest::getUserLoginRoutes()
Provides a list of routes to test.
File
- core/
modules/ user/ tests/ src/ Unit/ Menu/ UserLocalTasksTest.php, line 64
Class
- UserLocalTasksTest
- Tests user local tasks.
Namespace
Drupal\Tests\user\Unit\MenuCode
public function getUserLoginRoutes() {
return [
[
'user.login',
],
[
'user.register',
],
[
'user.pass',
],
];
}