You are here

tmgmt_smartling.routing.yml in TMGMT Translator Smartling 8.4

File

tmgmt_smartling.routing.yml
View source
  1. tmgmt_smartling.push_callback:
  2. path: '/tmgmt-smartling-callback/{job}'
  3. defaults:
  4. _controller: 'Drupal\tmgmt_smartling\Controller\PushCallbackController::callback'
  5. requirements:
  6. _access: 'TRUE'
  7. tmgmt_smartling.progress_tracker.delete_record:
  8. path: '/tmgmt-smartling/firebase/projects/{projectId}/spaces/{spaceId}/objects/{objectId}/records/{recordId}'
  9. methods: [DELETE]
  10. defaults:
  11. _controller: 'Drupal\tmgmt_smartling\Controller\ProgressTrackerController::callback'
  12. requirements:
  13. _permission: 'see smartling messages'
  14. tmgmt_smartling.send_context_action:
  15. path: '/admin/tmgmt/send-context-action'
  16. defaults:
  17. _title: 'TMGMT Smartling Send Context approve action'
  18. _form: 'Drupal\tmgmt_smartling\Form\SendContextActionApproveForm'
  19. requirements:
  20. _permission: 'send context smartling'
  21. tmgmt_smartling.download_by_job_items_approve_action:
  22. path: '/admin/tmgmt/approve-action-download-by-job-items'
  23. defaults:
  24. _title: 'TMGMT Smartling approve download by job items action'
  25. _form: '\Drupal\tmgmt_smartling\Form\DownloadByJobItemsTmgmtActionApproveForm'
  26. requirements:
  27. _permission: 'administer tmgmt'