public function UserLocalTasksTest::getUserPageRoutes in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php \Drupal\Tests\user\Unit\Menu\UserLocalTasksTest::getUserPageRoutes()
- 10 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 81
Class
- UserLocalTasksTest
- Tests user local tasks.
Namespace
Drupal\Tests\user\Unit\MenuCode
public function getUserPageRoutes() {
return [
[
'entity.user.canonical',
],
[
'entity.user.edit_form',
],
];
}