You are here

public function UserLocalTasksTest::getUserPageRoutes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php \Drupal\Tests\user\Unit\Menu\UserLocalTasksTest::getUserPageRoutes()

Provides a list of routes to test.

File

core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php, line 84
Contains \Drupal\Tests\user\Unit\Menu\UserLocalTasksTest.

Class

UserLocalTasksTest
Tests user local tasks.

Namespace

Drupal\Tests\user\Unit\Menu

Code

public function getUserPageRoutes() {
  return array(
    array(
      'entity.user.canonical',
    ),
    array(
      'entity.user.edit_form',
    ),
  );
}