You are here

tmgmt_content.routing.yml in Translation Management Tool 8

sources/content/tmgmt_content.routing.yml

File

sources/content/tmgmt_content.routing.yml
View source
  1. tmgmt_content.job_item_preview:
  2. path: '/tmgmt/content/preview/{tmgmt_job_item}/{view_mode}'
  3. defaults:
  4. _controller: '\Drupal\tmgmt_content\Controller\ContentTranslationPreviewController::preview'
  5. _title_callback: '\Drupal\tmgmt_content\Controller\ContentTranslationPreviewController::title'
  6. view_mode: 'full'
  7. requirements:
  8. _key_access_check: 'TRUE'