-
Notifications
You must be signed in to change notification settings - Fork 1
/
civicrm_newsletter.routing.yml
64 lines (60 loc) · 2.11 KB
/
civicrm_newsletter.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
civicrm_newsletter.config_form:
path: '/admin/config/services/civicrm_newsletter'
defaults:
_title: 'CiviCRM Advanced Newsletter Management'
_form: '\Drupal\civicrm_newsletter\Form\ConfigForm'
requirements:
_permission: 'administer civicrm newsletter'
civicrm_newsletter.subscription_form:
path: '/civicrm_newsletter/subscribe/{profile}'
defaults:
_title_callback: '\Drupal\civicrm_newsletter\Form\SubscriptionForm::title'
_form: '\Drupal\civicrm_newsletter\Form\SubscriptionForm'
requirements:
_custom_access: '\Drupal\civicrm_newsletter\Form\SubscriptionForm::access'
options:
parameters:
profile:
type: civicrm_newsletter_profile
civicrm_newsletter.optin:
path: '/civicrm_newsletter/optin/{profile}/{contact_hash}'
defaults:
_title_callback: '\Drupal\civicrm_newsletter\Controller\OptIn::title'
_controller: '\Drupal\civicrm_newsletter\Controller\OptIn::buildPage'
requirements:
_custom_access: '\Drupal\civicrm_newsletter\Controller\OptIn::access'
options:
parameters:
profile:
type: civicrm_newsletter_profile
contact_hash:
type: string
no_cache: TRUE
civicrm_newsletter.preferences_form:
path: '/civicrm_newsletter/preferences/{profile}/{contact_hash}'
defaults:
_title_callback: '\Drupal\civicrm_newsletter\Form\PreferencesForm::title'
_form: '\Drupal\civicrm_newsletter\Form\PreferencesForm'
requirements:
_custom_access: '\Drupal\civicrm_newsletter\Form\PreferencesForm::access'
options:
parameters:
profile:
type: civicrm_newsletter_profile
contact_hash:
type: string
no_cache: TRUE
civicrm_newsletter.request_link_form:
path: '/civicrm_newsletter/request_link/{profile}/{contact_hash}'
defaults:
_title_callback: '\Drupal\civicrm_newsletter\Form\RequestLinkForm::title'
_form: '\Drupal\civicrm_newsletter\Form\RequestLinkForm'
contact_hash: null
requirements:
_custom_access: '\Drupal\civicrm_newsletter\Form\RequestLinkForm::access'
options:
parameters:
profile:
type: civicrm_newsletter_profile
contact_hash:
type: string