public function UserLocalTasksTest::getUserAdminRoutes in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php \Drupal\Tests\user\Unit\Menu\UserLocalTasksTest::getUserAdminRoutes()
Provides a list of routes to test.
File
- core/
modules/ user/ tests/ src/ Unit/ Menu/ UserLocalTasksTest.php, line 36 - Contains \Drupal\Tests\user\Unit\Menu\UserLocalTasksTest.
Class
- UserLocalTasksTest
- Tests user local tasks.
Namespace
Drupal\Tests\user\Unit\MenuCode
public function getUserAdminRoutes() {
return array(
array(
'entity.user.collection',
array(
array(
'entity.user.collection',
'user.admin_permissions',
'entity.user_role.collection',
),
),
),
array(
'user.admin_permissions',
array(
array(
'entity.user.collection',
'user.admin_permissions',
'entity.user_role.collection',
),
),
),
array(
'entity.user_role.collection',
array(
array(
'entity.user.collection',
'user.admin_permissions',
'entity.user_role.collection',
),
),
),
array(
'entity.user.admin_form',
array(
array(
'user.account_settings_tab',
),
),
),
);
}