You are here

lingotek.routing.yml in Lingotek Translation 8

File

lingotek.routing.yml
View source
  1. lingotek.dashboard:
  2. path: '/admin/lingotek'
  3. defaults:
  4. _controller: '\Drupal\lingotek\Controller\LingotekDashboardController::dashboardPage'
  5. _title: 'Lingotek Translation Dashboard'
  6. requirements:
  7. _permission: 'administer lingotek'
  8. lingotek.dashboard_endpoint:
  9. path: '/admin/lingotek/dashboard_endpoint'
  10. methods: [GET,POST,DELETE]
  11. defaults:
  12. _controller: '\Drupal\lingotek\Controller\LingotekDashboardController::endpoint'
  13. _title: 'Lingotek Dashboard Endpoint'
  14. requirements:
  15. _permission: 'administer lingotek'
  16. lingotek.notify:
  17. path: '/lingotek/notify'
  18. defaults:
  19. _controller: '\Drupal\lingotek\Controller\LingotekNotificationController::endpoint'
  20. _title: 'Lingotek Notification Receiver'
  21. requirements:
  22. _access: 'TRUE'
  23. lingotek.setup_account:
  24. path: '/admin/lingotek/setup/account'
  25. defaults:
  26. _controller: '\Drupal\lingotek\Controller\LingotekSetupController::accountPage'
  27. _title: 'Lingotek Account Info'
  28. requirements:
  29. _permission: 'administer lingotek'
  30. lingotek.setup_account_handshake:
  31. path: '/admin/lingotek/setup/account/handshake'
  32. defaults:
  33. _controller: '\Drupal\lingotek\Controller\LingotekSetupController::handshake'
  34. _title: 'Lingotek Account Info'
  35. requirements:
  36. _permission: 'administer lingotek'
  37. lingotek.setup_community:
  38. path: '/admin/lingotek/setup/community'
  39. defaults:
  40. _controller: '\Drupal\lingotek\Controller\LingotekSetupController::communityPage'
  41. _title: 'Choose Community'
  42. requirements:
  43. _permission: 'administer lingotek'
  44. lingotek.setup_defaults:
  45. path: '/admin/lingotek/setup/defaults'
  46. defaults:
  47. _controller: '\Drupal\lingotek\Controller\LingotekSetupController::defaultsPage'
  48. _title: 'Choose Defaults'
  49. requirements:
  50. _permission: 'administer lingotek'
  51. lingotek.edit_defaults:
  52. path: '/admin/lingotek/defaults/edit'
  53. defaults:
  54. _form: '\Drupal\lingotek\Form\LingotekSettingsEditDefaultsForm'
  55. _title: 'Edit Defaults'
  56. requirements:
  57. _permission: 'administer lingotek'
  58. lingotek.account_disconnect:
  59. path: '/admin/lingotek/setup/account/disconnect'
  60. defaults:
  61. _form: '\Drupal\lingotek\Form\LingotekAccountDisconnectForm'
  62. _title: 'Lingotek Account Disconnect'
  63. requirements:
  64. _permission: 'administer lingotek'
  65. lingotek.settings:
  66. path: '/admin/lingotek/settings'
  67. defaults:
  68. _controller: '\Drupal\lingotek\Controller\LingotekSettingsController::content'
  69. _title: 'Translation Settings'
  70. requirements:
  71. _permission: 'administer lingotek'
  72. lingotek.settings_profile:
  73. path: '/admin/lingotek/settings/profile'
  74. defaults:
  75. _controller: '\Drupal\lingotek\Controller\LingotekSettingsController::profileForm'
  76. _title: 'Add or Edit a Profile'
  77. requirements:
  78. _permission: 'administer lingotek'
  79. lingotek.manage:
  80. path: '/admin/lingotek/manage'
  81. defaults:
  82. _controller: '\Drupal\lingotek\Controller\LingotekManagementController::content'
  83. _title: 'Manage Translations'
  84. requirements:
  85. _permission: 'administer lingotek'
  86. lingotek.manage_config:
  87. path: '/admin/lingotek/config/manage'
  88. defaults:
  89. _form: '\Drupal\lingotek\Form\LingotekConfigManagementForm'
  90. _title: 'Manage Configuration Translation'
  91. requirements:
  92. _permission: 'administer lingotek'
  93. lingotek.import:
  94. path: '/admin/lingotek/import'
  95. defaults:
  96. _controller: '\Drupal\lingotek\Controller\LingotekImportController::content'
  97. _title: 'Content Cloud Import'
  98. requirements:
  99. _permission: 'administer lingotek'
  100. lingotek.batch:
  101. path: '/admin/lingotek/batch/{action}/{entity_type}/{entity_id}'
  102. defaults:
  103. _controller: '\Drupal\lingotek\Controller\LingotekBatchController::dispatch'
  104. _title: 'Upload Source Batch'
  105. requirements:
  106. _permission: 'administer lingotek'
  107. lingotek.entity.check_upload:
  108. path: '/admin/lingotek/entity/check_upload/{doc_id}'
  109. defaults:
  110. _controller: '\Drupal\lingotek\Controller\LingotekEntityController::checkUpload'
  111. _title: 'Check Upload'
  112. requirements:
  113. _permission: 'administer lingotek'
  114. lingotek.entity.check_target:
  115. path: '/admin/lingotek/entity/check_target/{doc_id}/{locale}'
  116. defaults:
  117. _controller: '\Drupal\lingotek\Controller\LingotekEntityController::checkTarget'
  118. _title: 'Check Targets'
  119. requirements:
  120. _permission: 'administer lingotek'
  121. lingotek.entity.request_translation:
  122. path: '/admin/lingotek/entity/add_target/{doc_id}/{locale}'
  123. defaults:
  124. _controller: '\Drupal\lingotek\Controller\LingotekEntityController::addTarget'
  125. _title: 'Add Target'
  126. requirements:
  127. _permission: 'administer lingotek'
  128. lingotek.entity.upload:
  129. path: '/admin/lingotek/entity/upload/{entity_type}/{entity_id}'
  130. defaults:
  131. _controller: '\Drupal\lingotek\Controller\LingotekEntityController::upload'
  132. _title: 'Upload Source'
  133. requirements:
  134. _permission: 'administer lingotek'
  135. lingotek.entity.update:
  136. path: '/admin/lingotek/entity/update/{doc_id}'
  137. defaults:
  138. _controller: '\Drupal\lingotek\Controller\LingotekEntityController::update'
  139. _title: 'Update Source'
  140. requirements:
  141. _permission: 'administer lingotek'
  142. lingotek.entity.download:
  143. path: '/admin/lingotek/entity/download/{doc_id}/{locale}'
  144. defaults:
  145. _controller: '\Drupal\lingotek\Controller\LingotekEntityController::download'
  146. _title: 'Check Upload'
  147. requirements:
  148. _permission: 'administer lingotek'
  149. lingotek.config.upload:
  150. path: '/admin/lingotek/config/upload/{entity_type}/{entity_id}'
  151. defaults:
  152. _controller: '\Drupal\lingotek\Controller\LingotekConfigTranslationController::upload'
  153. _title: 'Upload Source'
  154. requirements:
  155. _permission: 'administer lingotek'
  156. lingotek.config.update:
  157. path: '/admin/lingotek/config/update/{entity_type}/{entity_id}'
  158. defaults:
  159. _controller: '\Drupal\lingotek\Controller\LingotekConfigTranslationController::update'
  160. _title: 'Update Source'
  161. requirements:
  162. _permission: 'administer lingotek'
  163. lingotek.config.check_upload:
  164. path: '/admin/lingotek/config/check_upload/{entity_type}/{entity_id}'
  165. defaults:
  166. _controller: '\Drupal\lingotek\Controller\LingotekConfigTranslationController::checkUpload'
  167. _title: 'Check Source Status'
  168. requirements:
  169. _permission: 'administer lingotek'
  170. lingotek.config.request:
  171. path: '/admin/lingotek/config/request/{entity_type}/{entity_id}/{locale}'
  172. defaults:
  173. _controller: '\Drupal\lingotek\Controller\LingotekConfigTranslationController::request'
  174. _title: 'Request translation'
  175. requirements:
  176. _permission: 'administer lingotek'
  177. lingotek.config.check_download:
  178. path: '/admin/lingotek/config/check_download/{entity_type}/{entity_id}/{locale}'
  179. defaults:
  180. _controller: '\Drupal\lingotek\Controller\LingotekConfigTranslationController::checkDownload'
  181. _title: 'Check Target Status'
  182. requirements:
  183. _permission: 'administer lingotek'
  184. lingotek.config.download:
  185. path: '/admin/lingotek/config/download/{entity_type}/{entity_id}/{locale}'
  186. defaults:
  187. _controller: '\Drupal\lingotek\Controller\LingotekConfigTranslationController::download'
  188. _title: 'Download translation'
  189. requirements:
  190. _permission: 'administer lingotek'
  191. lingotek.workbench:
  192. path: '/admin/lingotek/workbench/{doc_id}/{locale}'
  193. defaults:
  194. _controller: '\Drupal\lingotek\Controller\LingotekWorkbenchController::loadDocument'
  195. _title: 'Use Lingotek Workbench'
  196. requirements:
  197. _permission: 'administer lingotek'
  198. entity.lingotek_profile.add_form:
  199. path: '/admin/lingotek/settings/profile/add'
  200. defaults:
  201. _entity_form: 'lingotek_profile.add'
  202. _title: 'Add a Lingotek Profile'
  203. requirements:
  204. _permission: 'administer lingotek'
  205. entity.lingotek_profile.edit_form:
  206. path: '/admin/lingotek/settings/profile/{lingotek_profile}/edit'
  207. defaults:
  208. _entity_form: 'lingotek_profile.edit'
  209. _title: 'Edit Profile'
  210. requirements:
  211. _permission: 'administer lingotek'
  212. entity.lingotek_profile.delete_form:
  213. path: '/admin/lingotek/settings/profile/{lingotek_profile}/delete'
  214. defaults:
  215. _entity_form: 'lingotek_profile.delete'
  216. _title: 'Delete Profile'
  217. requirements:
  218. _permission: 'administer lingotek'