function UserLocalTasksTest::getUserLoginRoutes

Same name in other branches
  1. 9 core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php \Drupal\Tests\user\Unit\Menu\UserLocalTasksTest::getUserLoginRoutes()
  2. 8.9.x core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php \Drupal\Tests\user\Unit\Menu\UserLocalTasksTest::getUserLoginRoutes()
  3. 11.x 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 69

Class

UserLocalTasksTest
Tests user local tasks.

Namespace

Drupal\Tests\user\Unit\Menu

Code

public static function getUserLoginRoutes() {
    return [
        [
            'user.login',
        ],
        [
            'user.register',
        ],
        [
            'user.pass',
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.