You are here

lingotek.routing.yml in Lingotek Translation 3.3.x

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+manage lingotek translations'
  8. lingotek.config.dashboard:
  9. path: '/admin/lingotek'
  10. defaults:
  11. _controller: '\Drupal\lingotek\Controller\LingotekDashboardController::dashboardPage'
  12. _title: 'Lingotek Translation Dashboard'
  13. requirements:
  14. _permission: 'administer lingotek+manage lingotek translations'
  15. lingotek.dashboard_endpoint:
  16. path: '/admin/lingotek/dashboard_endpoint'
  17. methods: [GET,POST,DELETE]
  18. defaults:
  19. _controller: '\Drupal\lingotek\Controller\LingotekDashboardController::endpoint'
  20. _title: 'Lingotek Dashboard Endpoint'
  21. requirements:
  22. _permission: 'administer lingotek+manage lingotek translations'
  23. lingotek.notify:
  24. path: '/lingotek/notify'
  25. defaults:
  26. _controller: '\Drupal\lingotek\Controller\LingotekNotificationController::endpoint'
  27. _title: 'Lingotek Notification Receiver'
  28. requirements:
  29. _access: 'TRUE'
  30. lingotek.setup_account:
  31. path: '/admin/lingotek/setup/account'
  32. defaults:
  33. _controller: '\Drupal\lingotek\Controller\LingotekSetupController::accountPage'
  34. _title: 'Connect to Lingotek Account'
  35. requirements:
  36. _permission: 'administer lingotek'
  37. lingotek.setup_account_handshake:
  38. path: '/admin/lingotek/setup/account/handshake'
  39. defaults:
  40. _controller: '\Drupal\lingotek\Controller\LingotekSetupController::handshake'
  41. _title: 'Connect to Lingotek Account'
  42. requirements:
  43. _permission: 'administer lingotek'
  44. lingotek.setup_community:
  45. path: '/admin/lingotek/setup/community'
  46. defaults:
  47. _controller: '\Drupal\lingotek\Controller\LingotekSetupController::communityPage'
  48. _title: 'Choose Community'
  49. requirements:
  50. _permission: 'administer lingotek'
  51. lingotek.setup_defaults:
  52. path: '/admin/lingotek/setup/defaults'
  53. defaults:
  54. _controller: '\Drupal\lingotek\Controller\LingotekSetupController::defaultsPage'
  55. _title: 'Choose Defaults'
  56. requirements:
  57. _permission: 'administer lingotek'
  58. lingotek.edit_defaults:
  59. path: '/admin/lingotek/defaults/edit'
  60. defaults:
  61. _form: '\Drupal\lingotek\Form\LingotekSettingsEditDefaultsForm'
  62. _title: 'Edit Defaults'
  63. requirements:
  64. _permission: 'administer lingotek'
  65. lingotek.account_disconnect:
  66. path: '/admin/lingotek/setup/account/disconnect'
  67. defaults:
  68. _form: '\Drupal\lingotek\Form\LingotekAccountDisconnectForm'
  69. _title: 'Lingotek Account Disconnect'
  70. requirements:
  71. _permission: 'administer lingotek'
  72. lingotek.settings:
  73. path: '/admin/lingotek/settings'
  74. defaults:
  75. _controller: '\Drupal\lingotek\Controller\LingotekSettingsController::content'
  76. _title: 'Translation Settings'
  77. requirements:
  78. _permission: 'administer lingotek'
  79. lingotek.settings_profile:
  80. path: '/admin/lingotek/settings/profile'
  81. defaults:
  82. _controller: '\Drupal\lingotek\Controller\LingotekSettingsController::profileForm'
  83. _title: 'Add or Edit a Profile'
  84. requirements:
  85. _permission: 'administer lingotek'
  86. lingotek.manage:
  87. path: '/admin/lingotek/manage'
  88. defaults:
  89. _controller: '\Drupal\lingotek\Controller\LingotekManagementController::content'
  90. _title: 'Manage Translations'
  91. requirements:
  92. _permission: 'manage lingotek translations'
  93. lingotek.manage_interface_translation:
  94. path: '/admin/lingotek/manage/interface-translation'
  95. defaults:
  96. _form: '\Drupal\lingotek\Form\LingotekInterfaceTranslationForm'
  97. _title: 'Manage User Interface Translations'
  98. requirements:
  99. _permission: 'manage lingotek translations,translate interface'
  100. lingotek.manage_interface_translation.clear_metadata:
  101. path: '/admin/lingotek/manage/interface-translation/clear-metadata-confirm'
  102. defaults:
  103. _form: '\Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm'
  104. _title: 'Confirm deletion of User Interface Translations Lingotek metadata'
  105. requirements:
  106. _permission: 'manage lingotek translations,translate interface'
  107. lingotek.manage_config:
  108. path: '/admin/lingotek/config/manage'
  109. defaults:
  110. _form: '\Drupal\lingotek\Form\LingotekConfigManagementForm'
  111. _title: 'Manage Configuration Translation'
  112. requirements:
  113. _permission: 'manage lingotek translations,translate configuration'
  114. lingotek.confirm_disassociate:
  115. path: '/admin/lingotek/confirm_disassociate'
  116. defaults:
  117. _form: '\Drupal\lingotek\Form\LingotekDisassociateAllConfirmForm'
  118. _title: 'Confirm Disassociate'
  119. requirements:
  120. _permission: 'administer lingotek'
  121. lingotek.batch:
  122. path: '/admin/lingotek/batch/{action}/{entity_type}/{entity_id}'
  123. defaults:
  124. _controller: '\Drupal\lingotek\Controller\LingotekBatchController::dispatch'
  125. _title: 'Upload Source Batch'
  126. requirements:
  127. _permission: 'administer lingotek'
  128. lingotek.entity.check_upload:
  129. path: '/admin/lingotek/entity/check_upload/{doc_id}'
  130. defaults:
  131. _controller: '\Drupal\lingotek\Controller\LingotekEntityController::checkUpload'
  132. _title: 'Check Upload'
  133. requirements:
  134. _permission: 'manage lingotek translations'
  135. lingotek.entity.check_target:
  136. path: '/admin/lingotek/entity/check_target/{doc_id}/{locale}'
  137. defaults:
  138. _controller: '\Drupal\lingotek\Controller\LingotekEntityController::checkTarget'
  139. _title: 'Check Targets'
  140. requirements:
  141. _permission: 'manage lingotek translations'
  142. lingotek.entity.request_translation:
  143. path: '/admin/lingotek/entity/add_target/{doc_id}/{locale}'
  144. defaults:
  145. _controller: '\Drupal\lingotek\Controller\LingotekEntityController::addTarget'
  146. _title: 'Add Target'
  147. requirements:
  148. _permission: 'manage lingotek translations'
  149. lingotek.entity.upload:
  150. path: '/admin/lingotek/entity/upload/{entity_type}/{entity_id}'
  151. defaults:
  152. _controller: '\Drupal\lingotek\Controller\LingotekEntityController::upload'
  153. _title: 'Upload Source'
  154. requirements:
  155. _permission: 'manage lingotek translations'
  156. lingotek.entity.update:
  157. path: '/admin/lingotek/entity/update/{doc_id}'
  158. defaults:
  159. _controller: '\Drupal\lingotek\Controller\LingotekEntityController::update'
  160. _title: 'Update Source'
  161. requirements:
  162. _permission: 'manage lingotek translations'
  163. lingotek.entity.download:
  164. path: '/admin/lingotek/entity/download/{doc_id}/{locale}'
  165. defaults:
  166. _controller: '\Drupal\lingotek\Controller\LingotekEntityController::download'
  167. _title: 'Check Upload'
  168. requirements:
  169. _permission: 'manage lingotek translations'
  170. lingotek.entity.manage:
  171. path: '/node/{node}/manage'
  172. defaults:
  173. _form: '\Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm'
  174. _title: 'Manage Translations'
  175. requirements:
  176. _permission: 'manage lingotek translations'
  177. options:
  178. _node_operation_route: TRUE
  179. lingotek.assign_job_entity_multiple_form:
  180. path: '/admin/lingotek/job-assign'
  181. defaults:
  182. _form: '\Drupal\lingotek\Form\LingotekJobAssignToMultipleEntitiesForm'
  183. _title: 'Assign Job ID'
  184. requirements:
  185. _permission: 'manage lingotek translations'
  186. lingotek.assign_job_config_multiple_form:
  187. path: '/admin/lingotek/config/job-assign'
  188. defaults:
  189. _form: '\Drupal\lingotek\Form\LingotekJobAssignToMultipleConfigForm'
  190. _title: 'Assign Job ID'
  191. requirements:
  192. _permission: 'manage lingotek translations,translate configuration'
  193. lingotek.clear_job_entity_multiple_form:
  194. path: '/admin/lingotek/job-clear'
  195. defaults:
  196. _form: '\Drupal\lingotek\Form\LingotekJobClearMultipleEntitiesForm'
  197. _title: 'Clear Job ID'
  198. requirements:
  199. _permission: 'manage lingotek translations'
  200. lingotek.clear_job_config_multiple_form:
  201. path: '/admin/lingotek/config/job-clear'
  202. defaults:
  203. _form: '\Drupal\lingotek\Form\LingotekJobClearMultipleConfigForm'
  204. _title: 'Clear Job ID'
  205. requirements:
  206. _permission: 'manage lingotek translations,translate configuration'
  207. lingotek.config.upload:
  208. path: '/admin/lingotek/config/upload/{entity_type}/{entity_id}'
  209. defaults:
  210. _controller: '\Drupal\lingotek\Controller\LingotekConfigTranslationController::upload'
  211. _title: 'Upload Source'
  212. requirements:
  213. _permission: 'manage lingotek translations,translate configuration'
  214. lingotek.config.update:
  215. path: '/admin/lingotek/config/update/{entity_type}/{entity_id}'
  216. defaults:
  217. _controller: '\Drupal\lingotek\Controller\LingotekConfigTranslationController::update'
  218. _title: 'Update Source'
  219. requirements:
  220. _permission: 'manage lingotek translations,translate configuration'
  221. lingotek.config.check_upload:
  222. path: '/admin/lingotek/config/check_upload/{entity_type}/{entity_id}'
  223. defaults:
  224. _controller: '\Drupal\lingotek\Controller\LingotekConfigTranslationController::checkUpload'
  225. _title: 'Check Source Status'
  226. requirements:
  227. _permission: 'manage lingotek translations,translate configuration'
  228. lingotek.config.request:
  229. path: '/admin/lingotek/config/request/{entity_type}/{entity_id}/{locale}'
  230. defaults:
  231. _controller: '\Drupal\lingotek\Controller\LingotekConfigTranslationController::request'
  232. _title: 'Request translation'
  233. requirements:
  234. _permission: 'manage lingotek translations,translate configuration'
  235. lingotek.config.check_download:
  236. path: '/admin/lingotek/config/check_download/{entity_type}/{entity_id}/{locale}'
  237. defaults:
  238. _controller: '\Drupal\lingotek\Controller\LingotekConfigTranslationController::checkDownload'
  239. _title: 'Check Target Status'
  240. requirements:
  241. _permission: 'manage lingotek translations,translate configuration'
  242. lingotek.config.download:
  243. path: '/admin/lingotek/config/download/{entity_type}/{entity_id}/{locale}'
  244. defaults:
  245. _controller: '\Drupal\lingotek\Controller\LingotekConfigTranslationController::download'
  246. _title: 'Download translation'
  247. requirements:
  248. _permission: 'manage lingotek translations,translate configuration'
  249. lingotek.workbench:
  250. path: '/admin/lingotek/workbench/{doc_id}/{locale}'
  251. defaults:
  252. _controller: '\Drupal\lingotek\Controller\LingotekWorkbenchRedirectController::redirectToWorkbench'
  253. _title: 'Use Lingotek Workbench'
  254. requirements:
  255. _permission: 'manage lingotek translations'
  256. entity.lingotek_profile.add_form:
  257. path: '/admin/lingotek/settings/profile/add'
  258. defaults:
  259. _entity_form: 'lingotek_profile.add'
  260. _title: 'Add a Lingotek Profile'
  261. requirements:
  262. _permission: 'administer lingotek'
  263. entity.lingotek_profile.edit_form:
  264. path: '/admin/lingotek/settings/profile/{lingotek_profile}/edit'
  265. defaults:
  266. _entity_form: 'lingotek_profile.edit'
  267. _title: 'Edit Profile'
  268. requirements:
  269. _permission: 'administer lingotek'
  270. entity.lingotek_profile.delete_form:
  271. path: '/admin/lingotek/settings/profile/{lingotek_profile}/delete'
  272. defaults:
  273. _entity_form: 'lingotek_profile.delete'
  274. _title: 'Delete Profile'
  275. requirements:
  276. _permission: 'administer lingotek'
  277. lingotek.settings.content_form:
  278. path: '/admin/lingotek/settings/content/{entity_type}/{bundle}/edit'
  279. defaults:
  280. _form: '\Drupal\lingotek\Form\LingotekSettingsContentSingleForm'
  281. _title: 'Edit content settings'
  282. requirements:
  283. _permission: 'administer lingotek'
  284. lingotek.translation_jobs:
  285. path: '/admin/lingotek/jobs'
  286. defaults:
  287. _controller: '\Drupal\lingotek\Controller\LingotekJobManagementController::listJobs'
  288. _title: 'Translation Jobs'
  289. requirements:
  290. _permission: 'manage lingotek translations'
  291. lingotek.translation_job_info:
  292. path: '/admin/lingotek/job/{job_id}'
  293. defaults:
  294. _controller: '\Drupal\lingotek\Controller\LingotekJobManagementController::indexJob'
  295. _title_callback: '\Drupal\lingotek\Controller\LingotekJobManagementController::title'
  296. requirements:
  297. _permission: 'manage lingotek translations'
  298. lingotek.translation_job_info.content:
  299. path: '/admin/lingotek/job/{job_id}/content'
  300. defaults:
  301. _form: '\Drupal\lingotek\Form\LingotekJobManagementContentEntitiesForm'
  302. _title_callback: '\Drupal\lingotek\Controller\LingotekJobManagementController::titleContent'
  303. requirements:
  304. _permission: 'manage lingotek translations'
  305. lingotek.translation_job_info.config:
  306. path: '/admin/lingotek/job/{job_id}/config'
  307. defaults:
  308. _form: '\Drupal\lingotek\Form\LingotekJobManagementConfigForm'
  309. _title_callback: '\Drupal\lingotek\Controller\LingotekJobManagementController::titleConfig'
  310. requirements:
  311. _permission: 'manage lingotek translations,translate configuration'
  312. lingotek.supported_locales:
  313. path: '/admin/lingotek/supported-locales'
  314. defaults:
  315. _controller: '\Drupal\lingotek\Controller\LingotekSupportedLocalesController::content'
  316. _title: 'Supported Lingotek locales'
  317. requirements:
  318. _permission: 'administer languages'
  319. lingotek.supported_locales_autocomplete:
  320. path: '/admin/lingotek/supported-locales-autocomplete'
  321. defaults:
  322. _controller: '\Drupal\lingotek\Controller\LingotekSupportedLocalesController::autocomplete'
  323. _title: 'Supported Lingotek locales'
  324. requirements:
  325. _permission: 'administer languages'
  326. lingotek.interface_translation.upload:
  327. path: '/admin/lingotek/interface-translation/upload'
  328. defaults:
  329. _controller: '\Drupal\lingotek\Controller\LingotekInterfaceTranslationController::upload'
  330. _title: 'Upload Source'
  331. requirements:
  332. _permission: 'manage lingotek translations,translate interface'
  333. lingotek.interface_translation.update:
  334. path: '/admin/lingotek/interface-translation/update'
  335. defaults:
  336. _controller: '\Drupal\lingotek\Controller\LingotekInterfaceTranslationController::update'
  337. _title: 'Upload Source'
  338. requirements:
  339. _permission: 'manage lingotek translations,translate interface'
  340. lingotek.interface_translation.check_upload:
  341. path: '/admin/lingotek/interface-translation/check-upload'
  342. defaults:
  343. _controller: '\Drupal\lingotek\Controller\LingotekInterfaceTranslationController::checkUpload'
  344. _title: 'Upload Source'
  345. requirements:
  346. _permission: 'manage lingotek translations,translate interface'
  347. lingotek.interface_translation.request_translation:
  348. path: '/admin/lingotek/interface-translation/request-translation'
  349. defaults:
  350. _controller: '\Drupal\lingotek\Controller\LingotekInterfaceTranslationController::requestTranslation'
  351. _title: 'Request Translation'
  352. requirements:
  353. _permission: 'manage lingotek translations,translate interface'
  354. lingotek.interface_translation.check_translation:
  355. path: '/admin/lingotek/interface-translation/check-translation'
  356. defaults:
  357. _controller: '\Drupal\lingotek\Controller\LingotekInterfaceTranslationController::checkTranslation'
  358. _title: 'Check Translation status'
  359. requirements:
  360. _permission: 'manage lingotek translations,translate interface'
  361. lingotek.interface_translation.download:
  362. path: '/admin/lingotek/interface-translation/download-translation'
  363. defaults:
  364. _controller: '\Drupal\lingotek\Controller\LingotekInterfaceTranslationController::download'
  365. _title: 'Download Translation'
  366. requirements:
  367. _permission: 'manage lingotek translations,translate interface'