This repository was archived by the owner on May 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcourier.routing.yml
73 lines (66 loc) · 2.2 KB
/
courier.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
entity.courier_template_collection.channel:
path: '/courier/collection/{courier_template_collection}/template/{courier_channel}'
defaults:
_controller: '\Drupal\courier\Controller\ChannelFormController::template'
_title: 'Edit template'
requirements:
_entity_access: 'courier_template_collection.templates'
options:
parameters:
courier_template_collection:
type: entity:courier_template_collection
courier_channel:
type: 'courier_channel'
entity.courier_template_collection.tokens:
path: '/courier/collection/{courier_template_collection}/tokens'
defaults:
_controller: '\Drupal\courier\Controller\ChannelFormController::tokens'
_title: 'Token list'
requirements:
_entity_access: 'courier_template_collection.templates'
options:
parameters:
courier_template_collection:
type: entity:courier_template_collection
entity.courier_email.canonical:
path: '/courier/email/{courier_email}'
defaults:
_entity_view: 'courier_email'
_title: 'Email'
requirements:
_entity_access: 'courier_email.view'
entity.courier_email.edit_form:
path: '/courier/email/{courier_email}/edit'
defaults:
_entity_form: 'courier_email.edit'
_title: 'Edit email'
requirements:
_entity_access: 'courier_email.update'
entity.courier_email.delete_form:
path: '/courier/email/{courier_email}/delete'
defaults:
_entity_form: 'courier_email.delete'
_title: 'Delete email'
requirements:
_entity_access: 'courier_email.delete'
courier.admin_config_communication:
path: '/admin/config/communication'
defaults:
_controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
_title: 'Communication'
requirements:
_permission: 'access administration pages'
courier.admin.settings:
path: '/admin/config/communication/courier'
defaults:
_form: '\Drupal\courier\Form\Settings'
_title: 'Courier settings'
requirements:
_permission: 'administer courier'
courier.admin.maintenance:
path: '/admin/config/communication/courier/maintenance'
defaults:
_form: '\Drupal\courier\Form\CourierMaintenanceForm'
_title: 'Courier maintenance'
requirements:
_permission: 'administer courier'