-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuser.routing.yml
104 lines (90 loc) · 2.48 KB
/
user.routing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
user_register:
pattern: '/user/register'
defaults:
_entity_form: 'user.register'
requirements:
_access_user_register: 'TRUE'
user_logout:
pattern: '/user/logout'
defaults:
_controller: '\Drupal\user\Controller\UserController::logout'
requirements:
_user_is_logged_in: 'TRUE'
user_autocomplete:
pattern: '/user/autocomplete'
defaults:
_controller: '\Drupal\user\Controller\UserAutocompleteController::autocompleteUser'
requirements:
_permission: 'access user profiles'
user_autocomplete_anonymous:
pattern: '/user/autocomplete/anonymous'
defaults:
_controller: '\Drupal\user\Controller\UserAutocompleteController::autocompleteUserAnonymous'
requirements:
_permission: 'access user profiles'
user_account_settings:
pattern: '/admin/config/people/accounts'
defaults:
_form: '\Drupal\user\AccountSettingsForm'
requirements:
_permission: 'administer users'
user_admin_create:
pattern: '/admin/people/create'
defaults:
_entity_form: 'user.register'
requirements:
_permission: 'administer users'
user_admin_permissions:
pattern: '/admin/people/permissions'
defaults:
_form: '\Drupal\user\Form\UserPermissionsForm'
requirements:
_permission: 'administer permissions'
user_admin_permission:
pattern: '/admin/people/permissions/{role_id}'
defaults:
_form: '\Drupal\user\Form\UserPermissionsRoleSpecificForm'
requirements:
_permission: 'administer permissions'
user_role_list:
pattern: '/admin/people/roles'
defaults:
_entity_list: 'user_role'
requirements:
_permission: 'administer permissions'
user_role_add:
pattern: '/admin/people/roles/add'
defaults:
_entity_form: user_role.default
requirements:
_permission: 'administer permissions'
user_role_edit:
pattern: '/admin/people/roles/manage/{user_role}'
defaults:
_entity_form: user_role.default
requirements:
_entity_access: user_role.update
user_role_delete:
pattern: '/admin/people/roles/manage/{user_role}/delete'
defaults:
_entity_form: user_role.delete
requirements:
_entity_access: user_role.delete
user_pass:
pattern: '/user/password'
defaults:
_form: '\Drupal\user\Form\UserPasswordForm'
requirements:
_access: 'TRUE'
user_page:
pattern: '/user'
defaults:
_content: '\Drupal\user\Controller\UserController::userPage'
requirements:
_access: 'TRUE'
user_login:
pattern: '/user/login'
defaults:
_form: '\Drupal\user\Form\UserLoginForm'
requirements:
_access: 'TRUE'