-
Notifications
You must be signed in to change notification settings - Fork 0
/
bee.routing.yml
33 lines (31 loc) · 1 KB
/
bee.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
bee.node.availability:
path: '/node/{node}/availability'
defaults:
_controller: '\Drupal\bee\Controller\BeeController::availability'
_title_callback: '\Drupal\bee\Controller\BeeController::availabilityTitle'
requirements:
_bee_availability_access: 'node'
bee.node.add_reservation:
path: '/node/{node}/add-reservation'
defaults:
_form: '\Drupal\bee\Form\AddReservationForm'
_title_callback: '\Drupal\bee\Controller\BeeController::addReservationTitle'
options:
parameters:
node:
type: entity:node
requirements:
_bee_add_reservation_access: 'node'
bee.bat_event_series.add_reservation:
path: '/node/{node}/add-reservation/{bat_event_series}'
defaults:
_form: '\Drupal\bee\Form\AddReservationForm'
_title_callback: '\Drupal\bee\Controller\BeeController::addReservationTitle'
options:
parameters:
node:
type: entity:node
bat_event_series:
type: entity:bat_event_series
requirements:
_bee_add_reservation_access: 'node'