You are here

opigno_moxtra.routing.yml in Opigno Moxtra 8

Same filename and directory in other branches
  1. 3.x opigno_moxtra.routing.yml

File

opigno_moxtra.routing.yml
View source
  1. opigno_moxtra.settings:
  2. path: '/admin/config/opigno/moxtra'
  3. defaults:
  4. _title: 'Live meetings configuration'
  5. _form: '\Drupal\opigno_moxtra\Form\SettingsForm'
  6. requirements:
  7. _permission: 'configure moxtra'
  8. options:
  9. _admin_route: TRUE
  10. opigno_moxtra.meeting:
  11. path: '/moxtra/meeting/{opigno_moxtra_meeting}/index'
  12. defaults:
  13. _title_callback: '\Drupal\opigno_moxtra\Controller\MeetingController::title'
  14. _controller: '\Drupal\opigno_moxtra\Controller\MeetingController::index'
  15. requirements:
  16. _entity_access: opigno_moxtra_meeting.view
  17. options:
  18. parameters:
  19. opigno_moxtra_meeting:
  20. type: entity:opigno_moxtra_meeting
  21. opigno_moxtra.score_meeting:
  22. path: '/moxtra/meeting/{opigno_moxtra_meeting}/score'
  23. defaults:
  24. _title: 'Score Live Meeting'
  25. _form: '\Drupal\opigno_moxtra\Form\MeetingScoreForm'
  26. requirements:
  27. _access: 'TRUE'
  28. _permission: 'score meeting'
  29. options:
  30. parameters:
  31. opigno_moxtra_meeting:
  32. type: entity:opigno_moxtra_meeting
  33. opigno_moxtra.meeting_members_autocomplete:
  34. path: '/moxtra/meeting/{group}/members/autocomplete'
  35. defaults:
  36. _controller: '\Drupal\opigno_moxtra\Controller\MeetingController::membersAutocomplete'
  37. requirements:
  38. _access: 'TRUE'
  39. options:
  40. parameters:
  41. group:
  42. type: entity:group
  43. account:
  44. type: entity:user
  45. entity.opigno_moxtra_meeting.canonical:
  46. path: '/moxtra/meeting/{opigno_moxtra_meeting}'
  47. defaults:
  48. _entity_view: opigno_moxtra_meeting
  49. _title: 'Live Meeting'
  50. requirements:
  51. _entity_access: opigno_moxtra_meeting.view
  52. entity.opigno_moxtra_meeting.collection:
  53. path: '/admin/content/moxtra/meeting'
  54. defaults:
  55. _entity_list: opigno_moxtra_meeting
  56. _title: 'Live Meetings List'
  57. requirements:
  58. _permission: 'administer meeting entities'
  59. options:
  60. _admin_route: TRUE
  61. entity.opigno_moxtra_meeting.create_form:
  62. path: '/moxtra/meeting/add'
  63. defaults:
  64. _entity_form: opigno_moxtra_meeting.add
  65. _title: 'Create Live Meeting'
  66. requirements:
  67. _entity_create_access: opigno_moxtra_meeting
  68. entity.opigno_moxtra_meeting.edit_form:
  69. path: '/moxtra/meeting/{opigno_moxtra_meeting}/edit'
  70. defaults:
  71. _entity_form: opigno_moxtra_meeting.edit
  72. _title: 'Edit Live Meeting'
  73. requirements:
  74. _entity_access: opigno_moxtra_meeting.edit
  75. entity.opigno_moxtra_meeting.delete_form:
  76. path: '/moxtra/meeting/{opigno_moxtra_meeting}/delete'
  77. defaults:
  78. _entity_form: opigno_moxtra_meeting.delete
  79. _title: 'Delete Live Meeting'
  80. requirements:
  81. _entity_access: opigno_moxtra_meeting.delete
  82. entity.opigno_moxtra_meeting_result.canonical:
  83. path: '/moxtra/meeting_result/{opigno_moxtra_meeting_result}'
  84. defaults:
  85. _entity_view: opigno_moxtra_meeting_result
  86. _title: 'Live Meeting Result'
  87. requirements:
  88. _entity_access: opigno_moxtra_meeting_result.view
  89. entity.opigno_moxtra_meeting_result.collection:
  90. path: '/admin/content/moxtra/meeting_result'
  91. defaults:
  92. _entity_list: opigno_moxtra_meeting_result
  93. _title: 'Live Meetings Result List'
  94. requirements:
  95. _permission: 'administer meeting result entities'
  96. options:
  97. _admin_route: TRUE
  98. entity.opigno_moxtra_meeting_result.create_form:
  99. path: '/moxtra/meeting_result/add'
  100. defaults:
  101. _entity_form: opigno_moxtra_meeting_result.add
  102. _title: 'Create Live Meeting Result'
  103. requirements:
  104. _entity_create_access: opigno_moxtra_meeting_result
  105. entity.opigno_moxtra_meeting_result.edit_form:
  106. path: '/moxtra/meeting_result/{opigno_moxtra_meeting_result}/edit'
  107. defaults:
  108. _entity_form: opigno_moxtra_meeting_result.edit
  109. _title: 'Edit Live Meeting Result'
  110. requirements:
  111. _entity_access: opigno_moxtra_meeting_result.edit
  112. entity.opigno_moxtra_meeting_result.delete_form:
  113. path: '/moxtra/meeting_result/{opigno_moxtra_meeting_result}/delete'
  114. defaults:
  115. _entity_form: opigno_moxtra_meeting_result.delete
  116. _title: 'Delete Live Meeting Result'
  117. requirements:
  118. _entity_access: opigno_moxtra_meeting_result.delete
  119. opigno_moxtra.membership.add_user_to_all_collaborative_workspace:
  120. path: '/collaborative_workspace/{workspace}/add-user-to-workspace-autocomplete'
  121. defaults:
  122. _controller: '\Drupal\opigno_moxtra\Controller\MoxtraMembershipController::addToAllWorkspaceUserAutocomplete'
  123. requirements:
  124. _permission: 'administer workspace entities'
  125. options:
  126. parameters:
  127. workspace:
  128. type: entity:opigno_moxtra_workspace
  129. opigno_moxtra.live_meeting.settings:
  130. path: '/admin/structure/opigno_moxtra_meeting'
  131. defaults:
  132. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  133. _title: 'Live Meetings'
  134. requirements:
  135. _permission: 'administer meeting entities'
  136. options:
  137. _admin_route: TRUE
  138. parameters:
  139. account:
  140. type: entity:user