forked from creativepropulsionlabs/commerce_rma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
commerce_rma.routing.yml
33 lines (31 loc) · 975 Bytes
/
commerce_rma.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
commerce_rma.confirm_transition:
path: '/commerce_return/{commerce_return}/{workflow}/{workflow_transition}/confirm'
defaults:
_form: '\Drupal\commerce_rma\Form\ConfirmTransitionForm'
_title: 'Confirm Transition'
requirements:
_trasition_access: 'TRUE'
entity.commerce_return.user_view:
path: '/user/{user}/orders/{commerce_order}/returns'
defaults:
_entity_view: 'commerce_order.user'
_title: 'Return information'
requirements:
_entity_access: 'commerce_return.view'
options:
parameters:
entity:
user: 'entity:user'
commerce_order: 'entity:order'
entity.commerce_return.user_detail_view:
path: '/user/{user}/returns/{commerce_return}'
defaults:
_entity_view: 'commerce_return.user_detail'
_title: 'Return information'
requirements:
_entity_access: 'commerce_return.view'
options:
parameters:
entity:
user: 'entity:user'
commerce_return: 'entity:commerce_return'