-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcontacts.routing.yml
121 lines (110 loc) · 3.43 KB
/
contacts.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
contacts.ajax_subpage:
path: '/admin/contacts-tab/{user}/{subpage}'
defaults:
_controller: '\Drupal\contacts\Controller\DashboardController::ajaxTab'
options:
parameters:
user:
type: entity:user
requirements:
_permission: 'view contacts'
contacts.add_indiv_form:
path: '/admin/contacts/add/indiv'
defaults:
_form: '\Drupal\contacts\Form\AddIndivForm'
_title: 'Add person'
requirements:
_permission: 'add contacts'
options:
_admin_route: TRUE
contacts.add_org_form:
path: '/admin/contacts/add/org'
defaults:
_form: '\Drupal\contacts\Form\AddOrgForm'
_title: 'Add organisation'
requirements:
_permission: 'add contacts'
options:
_admin_route: TRUE
contacts.ajax.manage_mode:
path: '/admin/contacts/ajax/manage-mode'
defaults:
_controller: '\Drupal\contacts\Controller\DashboardController::ajaxManageMode'
requirements:
_permission: 'manage contacts dashboard'
contacts.ajax.manage_mode_refresh:
path: '/admin/contacts/ajax/manage-mode-refresh/{tab}'
defaults:
_controller: '\Drupal\contacts\Controller\DashboardController::ajaxManageModeRefresh'
options:
parameters:
tab:
type: entity:contact_tab
requirements:
_permission: 'manage contacts dashboard'
contacts.ajax.update_offcanvas:
path: '/admin/contacts/ajax/update-offcanvas/{tab}'
defaults:
_controller: '\Drupal\contacts\Controller\DashboardController::offCanvasUpdate'
options:
parameters:
tab:
type: entity:contact_tab
requirements:
_permission: 'manage contacts dashboard'
contacts.ajax.update_blocks:
path: '/admin/contacts/ajax/update-layout'
defaults:
_controller: '\Drupal\contacts\Controller\DashboardController::ajaxUpdateBlocks'
requirements:
_permission: 'manage contacts dashboard'
contacts.ajax.update_tabs:
path: '/admin/contacts/ajax/update-tabs'
defaults:
_controller: '\Drupal\contacts\Controller\DashboardController::ajaxUpdateTabs'
requirements:
_permission: 'manage contacts dashboard'
contacts.block.off_canvas_form:
path: '/admin/contacts/ajax/manage-off-canvas/{tab}/{block_name}'
defaults:
_controller: '\Drupal\contacts\Controller\DashboardController::offCanvasBlock'
_title_callback: '\Drupal\contacts\Controller\DashboardController::offCanvasTitle'
options:
parameters:
tab:
type: entity:contact_tab
requirements:
_permission: 'administer blocks'
contacts.tab.off_canvas_form:
path: '/admin/contacts/ajax/manage-off-canvas-tab/{tab}'
defaults:
_controller: '\Drupal\contacts\Controller\DashboardController::offCanvasTab'
_title: 'Edit tab'
options:
parameters:
tab:
type: entity:contact_tab
requirements:
_permission: 'administer blocks'
contacts.manage.off_canvas_choose:
path: '/admin/contacts/ajax/off-canvas/choose-block/{tab}/{region}'
defaults:
_controller: '\Drupal\contacts\Controller\ChooseBlockController::build'
_title: 'Choose a block to add'
options:
parameters:
tab:
type: entity:contact_tab
requirements:
_permission: 'manage contacts dashboard'
contacts.manage.off_canvas_add:
path: '/admin/contacts/ajax/add-off-canvas/{tab}/{plugin_id}/{region}'
defaults:
_controller: '\Drupal\contacts\Controller\DashboardController::offCanvasBlockAdd'
region: NULL
options:
parameters:
tab:
type: entity:contact_tab
requirements:
_permission: 'manage contacts dashboard'