You are here

bat_event_series.routing.yml in Booking and Availability Management Tools for Drupal 8

modules/bat_event_series/bat_event_series.routing.yml

File

modules/bat_event_series/bat_event_series.routing.yml
View source
  1. entity.bat_event_series.canonical:
  2. path: '/admin/bat/events/event_series/{bat_event_series}'
  3. defaults:
  4. _entity_view: 'bat_event_series'
  5. _title: 'Event series'
  6. requirements:
  7. _entity_access: 'bat_event_series.view'
  8. options:
  9. _admin_route: TRUE
  10. entity.bat_event_series.collection:
  11. path: '/admin/bat/events/event_series'
  12. defaults:
  13. _entity_list: 'bat_event_series'
  14. _title: 'Event series list'
  15. requirements:
  16. _permission: 'view any bat_event_series entity'
  17. options:
  18. _admin_route: TRUE
  19. entity.bat_event_series.add_page:
  20. path: '/admin/bat/events/event_series/add'
  21. defaults:
  22. _title: 'Add event series'
  23. _controller: '\Drupal\bat_event_series\Controller\EventSeriesController::addPage'
  24. requirements:
  25. _event_series_add_access: 'bat_event_series'
  26. options:
  27. _admin_route: TRUE
  28. entity.bat_event_series.add_form:
  29. path: '/admin/bat/events/event_series/add/{event_series_type}'
  30. defaults:
  31. _controller: '\Drupal\bat_event_series\Controller\EventSeriesController::add'
  32. _title_callback: '\Drupal\bat_event_series\Controller\EventSeriesController::addPageTitle'
  33. requirements:
  34. _event_series_add_access: 'bat_event_series:{event_series_type}'
  35. options:
  36. _admin_route: TRUE
  37. parameters:
  38. event_series_type:
  39. type: entity:bat_event_series_type
  40. with_config_overrides: TRUE
  41. entity.bat_event_series.edit_form:
  42. path: '/admin/bat/events/event_series/{bat_event_series}/edit'
  43. defaults:
  44. _entity_form: bat_event_series.edit
  45. _title: 'Edit Event Series'
  46. requirements:
  47. _entity_access: 'bat_event_series.update'
  48. options:
  49. _admin_route: TRUE
  50. entity.bat_event_series.confirm_edit_form:
  51. path: '/admin/bat/events/event_series/{bat_event_series}/edit/confirm'
  52. defaults:
  53. _form: '\Drupal\bat_event_series\Entity\Form\EventSeriesUpdateConfirmForm'
  54. _title: 'Edit Event Series'
  55. requirements:
  56. _entity_access: 'bat_event_series.update'
  57. options:
  58. _admin_route: TRUE
  59. parameters:
  60. bat_event_series:
  61. type: entity:bat_event_series
  62. entity.bat_event_series.delete_form:
  63. path: '/admin/bat/events/event_series/{bat_event_series}/delete'
  64. defaults:
  65. _entity_form: bat_event_series.delete
  66. _title: 'Delete Event Series'
  67. requirements:
  68. _entity_access: 'bat_event_series.delete'
  69. options:
  70. _admin_route: TRUE
  71. entity.bat_event_series.delete_events_form:
  72. path: '/admin/bat/events/event_series/{bat_event_series}/delete-events'
  73. defaults:
  74. _entity_form: bat_event_series.delete_events
  75. _title: 'Delete Event Series'
  76. requirements:
  77. _entity_access: 'bat_event_series.delete'
  78. options:
  79. _admin_route: TRUE
  80. parameters:
  81. bat_event_series:
  82. type: entity:bat_event_series
  83. entity.bat_event_series_type.collection:
  84. path: '/admin/bat/events/event_series/event-series-types'
  85. defaults:
  86. _entity_list: 'bat_event_series_type'
  87. _title: 'Event Series Type list'
  88. requirements:
  89. _permission: 'administer bat_event_series_type entities'
  90. options:
  91. _admin_route: TRUE
  92. entity.bat_event_series_type.type_add:
  93. path: '/admin/bat/events/event_series/event-series-types/add'
  94. defaults:
  95. _entity_form: 'bat_event_series_type.add'
  96. _title: 'Add event series type'
  97. requirements:
  98. _permission: 'administer bat_event_series_type entities'
  99. entity.bat_event_series_type.edit_form:
  100. path: '/admin/bat/events/event_series/event-series-types/{bat_event_series_type}/edit'
  101. defaults:
  102. _entity_form: 'bat_event_series_type.edit'
  103. _title: 'Edit Event series type'
  104. requirements:
  105. _permission: 'administer bat_event_series_type entities'
  106. options:
  107. _admin_route: TRUE
  108. entity.bat_event_series_type.delete_form:
  109. path: '/admin/bat/events/event_series/event-series-types/{bat_event_series_type}/delete'
  110. defaults:
  111. _entity_form: 'bat_event_series_type.delete'
  112. _title: 'Delete'
  113. requirements:
  114. _permission: 'administer bat_event_series_type entities'
  115. entity.bat_event_series.edit_form_modal:
  116. path: '/admin/bat/events/event_series/{bat_event_series}/edit/repeating-rule'
  117. defaults:
  118. _form: '\Drupal\bat_event_series\Form\EditRepeatingRuleModalForm'
  119. _title: 'Edit repeating rule'
  120. requirements:
  121. _permission: 'administer pages'
  122. options:
  123. parameters:
  124. bat_event_series:
  125. type: entity:bat_event_series
  126. entity.bat_event_series.edit_confirmation_form_modal:
  127. path: '/admin/bat/events/event_series/{bat_event_series}/edit/repeating-rule-confirmation'
  128. defaults:
  129. _form: '\Drupal\bat_event_series\Form\EditRepeatingRuleConfirmationModalForm'
  130. _title: 'Edit repeating rule'
  131. requirements:
  132. _permission: 'administer pages'
  133. options:
  134. parameters:
  135. bat_event_series:
  136. type: entity:bat_event_series