-
Notifications
You must be signed in to change notification settings - Fork 2
/
admin_ui_support.routing.yml
122 lines (109 loc) · 3.8 KB
/
admin_ui_support.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# Routes controlled by the React App.
admin_ui_support.user.permissions:
path: '/vfancy/admin/people/permissions'
defaults:
_controller: '\Drupal\admin_ui_support\Controller\EmptyController::noop'
options:
_admin_related_route: 'user.admin_permissions'
requirements:
_permission: 'administer permissions'
admin_ui_support.entity.user_role.edit_permissions_form:
path: '/vfancy/admin/people/permissions/{user_role}'
defaults:
_controller: '\Drupal\admin_ui_support\Controller\EmptyController::noop'
options:
_admin_related_route: 'entity.user_role.edit_permissions_form'
requirements:
_entity_access: 'user_role.update'
admin_ui_support.entity.user_role.collection:
path: '/vfancy/admin/people/roles'
defaults:
_controller: '\Drupal\admin_ui_support\Controller\EmptyController::noop'
options:
_admin_related_route: 'entity.user_role.collection'
requirements:
_permission: 'administer permissions'
admin_ui_support.dblog_types:
path: '/admin-ui-support/dblog-types'
defaults:
_controller: '\Drupal\admin_ui_support\Controller\DbLogTypes::get'
requirements:
_permission: 'access site reports'
_format: 'json'
admin_ui_support.dblog.overview:
path: '/vfancy/admin/reports/dblog'
defaults:
_controller: '\Drupal\admin_ui_support\Controller\EmptyController::noop'
options:
_admin_related_route: 'dblog.overview'
requirements:
_permission: 'access site reports'
admin_ui_support.admin_ui_support_settings:
path: '/admin/config/system/admin-ui-support'
defaults:
_form: '\Drupal\admin_ui_support\Form\SettingsForm'
_title: 'Decoupled Administration Interface'
requirements:
_permission: 'administer site configuration'
options:
_admin_route: TRUE
admin_ui_support.system.admin_content:
path: '/vfancy/admin/content'
defaults:
_controller: '\Drupal\admin_ui_support\Controller\EmptyController::noop'
options:
_admin_related_route: 'system.admin_content'
requirements:
_permission: 'access administration pages'
admin_ui_support.node.add_page:
path: '/vfancy/node/add'
defaults:
_controller: '\Drupal\admin_ui_support\Controller\EmptyController::noop'
options:
_admin_related_route: 'node.add_page'
_node_operation_route: TRUE
requirements:
_node_add_access: 'node'
admin_ui_support.node.add:
path: '/vfancy/node/add/{node_type}'
defaults:
_controller: '\Drupal\admin_ui_support\Controller\EmptyController::noop'
requirements:
_node_add_access: 'node:{node_type}'
options:
_node_operation_route: TRUE
_admin_related_route: 'node.add'
parameters:
node_type:
with_config_overrides: TRUE
admin_ui_support.node.edit:
path: '/vfancy/node/{node}/edit'
defaults:
_controller: '\Drupal\admin_ui_support\Controller\EmptyController::noop'
options:
_node_operation_route: TRUE
_admin_related_route: 'entity.node.edit_form'
admin_ui_support.entity.taxonomy_vocabulary.collection:
path: '/vfancy/admin/structure/taxonomy'
defaults:
_controller: '\Drupal\admin_ui_support\Controller\EmptyController::noop'
options:
_admin_related_route: 'entity.taxonomy_vocabulary.collection'
admin_ui_support.entity.taxonomy_vocabulary.overview_form:
path: '/vfancy/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/overview'
defaults:
_controller: '\Drupal\admin_ui_support\Controller\EmptyController::noop'
options:
_admin_related_route: 'entity.taxonomy_vocabulary.overview_form'
admin_ui_support.components:
path: '/jsdrupal/components'
defaults:
_controller: '\Drupal\admin_ui_support\Controller\DefaultController::components'
requirements:
_access: 'TRUE'
admin_ui_support.routes:
path: '/jsdrupal/routes'
defaults:
_controller: '\Drupal\admin_ui_support\Controller\DefaultController::routes'
requirements:
_access: 'TRUE'