You are here

bbb_node.routing.yml in BigBlueButton 8

modules/bbb_node/bbb_node.routing.yml

File

modules/bbb_node/bbb_node.routing.yml
View source
  1. bbb_node.admin:
  2. path: '/admin/config/media/bigbluebutton/node'
  3. defaults:
  4. _form: '\Drupal\bbb_node\Form\SettingsForm'
  5. _title: 'BigBlueButton meetings'
  6. requirements:
  7. _permission: 'administer big blue button'
  8. entity.bbb_node_type.collection:
  9. path: '/admin/structure/bigbluebutton'
  10. defaults:
  11. _entity_list: bbb_node_type
  12. _title: 'BigBlueButton content types'
  13. requirements:
  14. _permission: 'administer big blue button'
  15. entity.bbb_node_type.add:
  16. path: '/admin/structure/bigbluebutton/add'
  17. defaults:
  18. _entity_form: bbb_node_type.add
  19. _title: 'BigBlueButton: Configure a new content type'
  20. requirements:
  21. _permission: 'administer big blue button'
  22. entity.bbb_node_type.edit_form:
  23. path: '/admin/structure/bigbluebutton/{bbb_node_type}'
  24. defaults:
  25. _entity_form: bbb_node_type.edit
  26. _title: 'BigBlueButton content type settings'
  27. requirements:
  28. _permission: 'administer big blue button'
  29. entity.bbb_node_type.delete_form:
  30. path: '/admin/structure/bigbluebutton/{bbb_node_type}/delete'
  31. defaults:
  32. _entity_form: bbb_node_type.delete
  33. _title: 'Remove BigBlueButton Content type settings'
  34. requirements:
  35. _permission: 'administer big blue button'
  36. bbb_node.meeting.attend:
  37. path: '/node/{node}/meeting/attend'
  38. defaults:
  39. _controller: '\Drupal\bbb_node\Controller\BBBMeetingTypeController::attend'
  40. _title_callback: '\Drupal\bbb_node\Controller\BBBMeetingTypeController::getTitle'
  41. options:
  42. _access_mode: 'ALL'
  43. requirements:
  44. _bbb_meeting_attendee_access_check: 'TRUE'
  45. _entity_access: 'node.view'
  46. node: \d+
  47. bbb_node.meeting.moderate:
  48. path: '/node/{node}/meeting/moderate'
  49. defaults:
  50. _controller: '\Drupal\bbb_node\Controller\BBBMeetingTypeController::moderate'
  51. _title_callback: '\Drupal\bbb_node\Controller\BBBMeetingTypeController::getTitle'
  52. options:
  53. _access_mode: 'ALL'
  54. requirements:
  55. _bbb_meeting_moderator_access_check: 'TRUE'
  56. _entity_access: 'node.view'
  57. node: \d+
  58. bbb_node.meeting.redirect:
  59. path: '/node/{node}/redirect/{mode}'
  60. defaults:
  61. _controller: '\Drupal\bbb_node\Controller\BBBMeetingTypeController::attendRedirect'
  62. options:
  63. _access_mode: 'ALL'
  64. requirements:
  65. _bbb_meeting_moderator_access_check: 'TRUE'
  66. _entity_access: 'node.view'
  67. node: \d+
  68. mode: \s+
  69. bbb_node.meeting.end_meeting_confirm_form:
  70. path: '/meeting/end-confirm/{node}'
  71. defaults:
  72. _form: '\Drupal\bbb_node\Form\EndMeetingConfirmForm'
  73. # options:
  74. # _access_mode: 'ALL'
  75. requirements:
  76. # _bbb_meeting_moderator_access_check: 'TRUE'
  77. # _entity_access: 'node.view'
  78. node: \d+
  79. bbb_node.meeting.end_status:
  80. path: '/node/{node}/meeting/status'
  81. defaults:
  82. _controller: '\Drupal\bbb_node\Controller\BBBMeetingTypeController::status'
  83. options:
  84. _access_mode: 'ALL'
  85. requirements:
  86. _bbb_meeting_attendee_access_check: 'TRUE'
  87. _entity_access: 'node.view'
  88. node: \d+