bat_fullcalendar.routing.yml in Booking and Availability Management Tools for Drupal 8
modules/bat_fullcalendar/bat_fullcalendar.routing.yml
File
modules/bat_fullcalendar/bat_fullcalendar.routing.ymlView source
- bat_fullcalendar.event_management:
- path: '/admin/bat/fullcalendar/{entity_id}/event/{event_type}/{event_id}/{start_date}/{end_date}'
- defaults:
- _controller: '\Drupal\bat_fullcalendar\Controller\BatFullcalendarController::fullcalendarEventManagement'
- _title: 'Event Management'
- requirements:
- _event_management_access: '{entity_id},{event_type},{event_id},{start_date},{end_date}'
- options:
- _admin_route: TRUE
- parameters:
- entity_id:
- with_config_overrides: TRUE
- event_type:
- type: entity:bat_event_type
- with_config_overrides: TRUE
- event_id:
- with_config_overrides: TRUE
- start_date:
- type: bat_date
- with_config_overrides: TRUE
- end_date:
- type: bat_date
- with_config_overrides: TRUE
-
- bat_fullcalendar.fullcalendar:
- path: '/admin/bat/config/fullcalendar'
- defaults:
- _form: '\Drupal\bat_fullcalendar\Form\FullcalendarForm'
- _title: 'Fullcalendar'
- requirements:
- _permission: 'administer calendar events'