You are here

tmgmt_local.routing.yml in Translation Management Tool 8

translators/tmgmt_local/tmgmt_local.routing.yml

File

translators/tmgmt_local/tmgmt_local.routing.yml
View source
  1. entity.tmgmt_local_task.canonical:
  2. path: '/translate/{tmgmt_local_task}'
  3. defaults:
  4. _entity_form: tmgmt_local_task.edit
  5. requirements:
  6. _entity_access: tmgmt_local_task.update
  7. entity.tmgmt_local_task.unassign:
  8. path: '/translate/{tmgmt_local_task}/unassign'
  9. defaults:
  10. _entity_form: tmgmt_local_task.unassign
  11. requirements:
  12. _entity_access: tmgmt_local_task.update
  13. entity.tmgmt_local_task.delete:
  14. path: '/translate/{tmgmt_local_task}/delete'
  15. defaults:
  16. _entity_form: tmgmt_local_task.delete
  17. requirements:
  18. _entity_access: tmgmt_local_task.delete
  19. entity.tmgmt_local_task.assign:
  20. path: '/translate/{tmgmt_local_task}/assign'
  21. defaults:
  22. _entity_form: tmgmt_local_task.assign
  23. requirements:
  24. _entity_access: tmgmt_local_task.update
  25. entity.tmgmt_local_task.assign_to_me:
  26. path: '/translate/{tmgmt_local_task}/assign_to_me'
  27. defaults:
  28. _controller: '\Drupal\tmgmt_local\Controller\LocalTaskController::assignToMe'
  29. requirements:
  30. _entity_access: tmgmt_local_task.update
  31. _permission: 'provide translation services'
  32. tmgmt_local_task.assign_multiple:
  33. path: '/translate/assign-multiple'
  34. defaults:
  35. _form: \Drupal\tmgmt_local\Form\AssignMultiple
  36. requirements:
  37. _permission: 'administer translation tasks'
  38. entity.tmgmt_local_task_item.canonical:
  39. path: '/translate/items/{tmgmt_local_task_item}'
  40. defaults:
  41. _entity_form: tmgmt_local_task_item.edit
  42. requirements:
  43. _entity_access: tmgmt_local_task_item.update