forked from ymcatwincities/openy_memberships
-
Notifications
You must be signed in to change notification settings - Fork 2
/
openy_memberships.routing.yml
69 lines (69 loc) · 2.14 KB
/
openy_memberships.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
openy_memberships.openy_memberships:
path: /admin/openy/memberships
defaults:
_controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
_title: 'Memberships'
requirements:
_permission: 'access administration pages'
openy_memberships.getAgesGroupsInfo:
path: /memberships/get/ages/groups
defaults:
_controller: '\Drupal\openy_memberships\Controller\OpenyMemberships::getAgesGroupsInfo'
requirements:
_permission: 'access content'
options:
no_cache: TRUE
openy_memberships.checkDiscounts:
path: /memberships/check/discounts/{income}/{members}
defaults:
_controller: '\Drupal\openy_memberships\Controller\OpenyMemberships::checkDiscounts'
requirements:
_permission: 'access content'
options:
no_cache: TRUE
openy_memberships.products:
path: /memberships/api/products/{branch}/{data}
defaults:
_controller: '\Drupal\openy_memberships\Controller\OpenyMemberships::getProductsInBranch'
branch: null
data: null
requirements:
_permission: 'access content'
options:
no_cache: TRUE
openy_memberships.summary:
path: /memberships/api/summary
defaults:
_controller: '\Drupal\openy_memberships\Controller\OpenyMemberships::getSummary'
requirements:
_permission: 'access content'
options:
no_cache: TRUE
openy_memberships.billing:
path: /memberships/api/billing/{order}
defaults:
_controller: '\Drupal\openy_memberships\Controller\OpenyMemberships::setBillingInfo'
branch: null
requirements:
_permission: 'access content'
options:
no_cache: TRUE
parameters:
order:
type: 'entity:commerce_order'
openy_memberships.summary_pdf:
path: /memberships/get-summary-pdf/{order_uuid}
defaults:
_controller: '\Drupal\openy_memberships\Controller\OpenyMemberships::getSummaryPdf'
requirements:
_permission: 'access content'
options:
no_cache: TRUE
openy_memberships.send_summary_email:
path: /memberships/send/summary/email/{order_uuid}
defaults:
_controller: '\Drupal\openy_memberships\Controller\OpenyMemberships::sendSummaryEmail'
requirements:
_permission: 'access content'
options:
no_cache: TRUE