You are here

deploy.routing.yml in Deploy - Content Staging 8

File

deploy.routing.yml
View source
  1. # Replication routing definition
  2. entity.replication.collection:
  3. path: '/admin/structure/deployment'
  4. defaults:
  5. _entity_list: 'replication'
  6. _title: 'Deployments'
  7. requirements:
  8. _permission: 'administer deployments'
  9. options:
  10. _admin_route: TRUE
  11. entity.replication.add_form:
  12. path: '/admin/structure/deployment/add'
  13. defaults:
  14. _entity_form: replication.add
  15. _title_callback: '\Drupal\deploy\Entity\Form\ReplicationForm::addTitle'
  16. requirements:
  17. _entity_create_access: 'replication'
  18. options:
  19. _admin_route: TRUE
  20. no_cache: TRUE
  21. entity.replication.view_fail_info:
  22. path: '/admin/structure/deployment/{replication_id}/fail-info'
  23. defaults:
  24. _title_callback: '\Drupal\deploy\Controller\ReplicationFailInfoController::viewTitle'
  25. _controller: '\Drupal\deploy\Controller\ReplicationFailInfoController::viewFailInfo'
  26. requirements:
  27. _permission: 'administer deployments'
  28. options:
  29. _admin_route: TRUE
  30. entity.replication.view_requeue_info:
  31. path: '/admin/structure/deployment/{replication_id}/requeue-info'
  32. defaults:
  33. _title_callback: '\Drupal\deploy\Controller\ReplicationRequeueInfoController::viewTitle'
  34. _controller: '\Drupal\deploy\Controller\ReplicationRequeueInfoController::viewRequeueInfo'
  35. requirements:
  36. _permission: 'administer deployments'
  37. options:
  38. _admin_route: TRUE