-
Notifications
You must be signed in to change notification settings - Fork 0
/
anonymous_subscriptions.routing.yml
109 lines (100 loc) · 3.63 KB
/
anonymous_subscriptions.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
anonymous_subscriptions.settings_form:
path: '/admin/config/content/anonymous_subscriptions'
defaults:
_form: '\Drupal\anonymous_subscriptions\Form\SettingsForm'
_title: 'Anonymous subscriptions settings'
requirements:
_permission: 'administer anonymous_subscriptions'
anonymous_subscriptions.cleanup:
path: '/admin/config/content/anonymous_subscriptions/cleanup'
defaults:
_form: '\Drupal\anonymous_subscriptions\Form\SubscriptionsCleanupForm'
_title_callback: '\Drupal\anonymous_subscriptions\Form\SubscriptionsCleanupForm::formTitle'
requirements:
_permission: 'administer anonymous_subscriptions'
entity.anonymous_subscription.delete_form:
path: '/admin/config/content/anonymous_subscriptions/{anonymous_subscription}/delete'
defaults:
_entity_form: anonymous_subscription.delete
_title: 'Delete subscription'
requirements:
_entity_access: 'anonymous_subscription.delete'
anonymous_subscriptions.subscribe_form:
path: '/subscribe'
defaults:
_form: '\Drupal\anonymous_subscriptions\Form\SubscribeForm'
_title_callback: '\Drupal\anonymous_subscriptions\Form\SubscribeForm::getTitle'
requirements:
_permission: 'access content'
anonymous_subscriptions.taxonomy_terms_subscription_form:
path: '/taxonomy/subscribe/{vid}'
defaults:
_form: '\Drupal\anonymous_subscriptions\Form\SubscribeTaxonomyTermsForm'
_title_callback: '\Drupal\anonymous_subscriptions\Form\SubscribeTaxonomyTermsForm::getTitle'
options:
parameters:
vocabulary_name:
type: string
requirements:
_permission: 'access content'
anonymous_subscriptions.subscribe_form_type:
path: '/subscribe/{type}'
defaults:
_form: '\Drupal\anonymous_subscriptions\Form\SubscribeForm'
_title_callback: '\Drupal\anonymous_subscriptions\Form\SubscribeForm::getTitle'
options:
parameters:
type:
type: string
requirements:
_permission: 'access content'
anonymous_subscriptions.subscribe_node_form_type:
path: '/node/{node}/subscribe'
defaults:
_form: '\Drupal\anonymous_subscriptions\Form\SubscribeNodeForm'
_title_callback: '\Drupal\anonymous_subscriptions\Form\SubscribeNodeForm::getTitle'
options:
parameters:
type:
type: string
requirements:
_permission: 'access content'
anonymous_subscriptions.verify_subscription:
path: '/subscription/{subscription}/{code}/confirm'
options:
parameters:
subscription:
type: entity:anonymous_subscription
code:
type: string
defaults:
_controller: '\Drupal\anonymous_subscriptions\Controller\SubscriptionController::verify'
_title_callback: '\Drupal\anonymous_subscriptions\Controller\SubscriptionController::verifyTitle'
requirements:
_permission: 'access content'
anonymous_subscriptions.cancel_subscription:
path: '/subscription/{subscription}/{code}/unsubscribe'
options:
parameters:
subscription:
type: entity:anonymous_subscription
code:
type: string
defaults:
_form: 'Drupal\anonymous_subscriptions\Form\SubscriptionCancelForm'
_title_callback: 'Drupal\anonymous_subscriptions\Form\SubscriptionCancelForm::getTitle'
requirements:
_permission: 'access content'
anonymous_subscriptions.cancel_all_subscriptions:
path: '/subscription/{subscription}/{code}/unsubscribe_all'
options:
parameters:
subscription:
type: entity:anonymous_subscription
code:
type: string
defaults:
_form: 'Drupal\anonymous_subscriptions\Form\SubscriptionCancelAllForm'
_title_callback: 'Drupal\anonymous_subscriptions\Form\SubscriptionCancelAllForm::getTitle'
requirements:
_permission: 'access content'