function UserLocalTasksTest::getUserPageRoutes
Provides a list of routes to test.
File
-
core/
modules/ user/ tests/ src/ Unit/ Menu/ UserLocalTasksTest.php, line 93
Class
- UserLocalTasksTest
- Tests user local tasks.
Namespace
Drupal\Tests\user\Unit\MenuCode
public function getUserPageRoutes() {
return [
[
'entity.user.canonical',
],
[
'entity.user.edit_form',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.