You are here

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.yml
View source
  1. bat_fullcalendar.event_management:
  2. path: '/admin/bat/fullcalendar/{entity_id}/event/{event_type}/{event_id}/{start_date}/{end_date}'
  3. defaults:
  4. _controller: '\Drupal\bat_fullcalendar\Controller\BatFullcalendarController::fullcalendarEventManagement'
  5. _title: 'Event Management'
  6. requirements:
  7. _event_management_access: '{entity_id},{event_type},{event_id},{start_date},{end_date}'
  8. options:
  9. _admin_route: TRUE
  10. parameters:
  11. entity_id:
  12. with_config_overrides: TRUE
  13. event_type:
  14. type: entity:bat_event_type
  15. with_config_overrides: TRUE
  16. event_id:
  17. with_config_overrides: TRUE
  18. start_date:
  19. type: bat_date
  20. with_config_overrides: TRUE
  21. end_date:
  22. type: bat_date
  23. with_config_overrides: TRUE
  24. bat_fullcalendar.fullcalendar:
  25. path: '/admin/bat/config/fullcalendar'
  26. defaults:
  27. _form: '\Drupal\bat_fullcalendar\Form\FullcalendarForm'
  28. _title: 'Fullcalendar'
  29. requirements:
  30. _permission: 'administer calendar events'