Drupal investigation

migrate_tools.routing.yml 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. # This is the router item for listing all migration group entities.
  2. entity.migration_group.list:
  3. path: '/admin/structure/migrate'
  4. defaults:
  5. _entity_list: 'migration_group'
  6. _title: 'Migrations'
  7. requirements:
  8. _permission: 'administer migrations'
  9. # This is the router item for adding our migration group entity.
  10. entity.migration_group.add_form:
  11. path: '/admin/structure/migrate/add'
  12. defaults:
  13. _title: 'Add migration group'
  14. _entity_form: migration_group.add
  15. requirements:
  16. _entity_create_access: migration_group
  17. # This is the router item for editing our migration group entity.
  18. entity.migration_group.edit_form:
  19. path: '/admin/structure/migrate/manage/{migration_group}'
  20. defaults:
  21. _title: 'Edit migration group'
  22. _entity_form: migration_group.edit
  23. requirements:
  24. _entity_access: migration_group.update
  25. # This is the router item for deleting an instance of our migration group entity.
  26. entity.migration_group.delete_form:
  27. path: '/admin/structure/migrate/manage/{migration_group}/delete'
  28. defaults:
  29. _title: 'Delete migration group'
  30. _entity_form: migration_group.delete
  31. requirements:
  32. _entity_access: migration_group.delete
  33. # This is the router item for listing all migration entities.
  34. entity.migration.list:
  35. path: '/admin/structure/migrate/manage/{migration_group}/migrations'
  36. defaults:
  37. _entity_list: 'migration'
  38. _title: 'Migrations'
  39. requirements:
  40. _permission: 'administer migrations'
  41. # This is the router item for adding our migration entity.
  42. #entity.migration.add_form:
  43. # path: '/admin/structure/migrate/manage/{migration_group}/migrations/add'
  44. # defaults:
  45. # _title: 'Add migration'
  46. # _entity_form: migration.add
  47. # requirements:
  48. # _entity_create_access: migration
  49. # This is the router item for viewing our migration entity.
  50. entity.migration.overview:
  51. path: '/admin/structure/migrate/manage/{migration_group}/migrations/{migration}'
  52. defaults:
  53. _controller: '\Drupal\migrate_tools\Controller\MigrationController::overview'
  54. _title: 'Migration overview'
  55. requirements:
  56. _permission: 'administer migrations'
  57. entity.migration.source:
  58. path: '/admin/structure/migrate/manage/{migration_group}/migrations/{migration}/source'
  59. defaults:
  60. _controller: '\Drupal\migrate_tools\Controller\MigrationController::source'
  61. _title: 'Source'
  62. requirements:
  63. _permission: 'administer migrations'
  64. entity.migration.process:
  65. path: '/admin/structure/migrate/manage/{migration_group}/migrations/{migration}/process'
  66. defaults:
  67. _controller: '\Drupal\migrate_tools\Controller\MigrationController::process'
  68. _title: 'Process'
  69. requirements:
  70. _permission: 'administer migrations'
  71. entity.migration.destination:
  72. path: '/admin/structure/migrate/manage/{migration_group}/migrations/{migration}/destination'
  73. defaults:
  74. _controller: '\Drupal\migrate_tools\Controller\MigrationController::destination'
  75. _title: 'Destination'
  76. requirements:
  77. _permission: 'administer migrations'
  78. # This is the router item for editing our migration entity.
  79. entity.migration.edit_form:
  80. path: '/admin/structure/migrate/manage/{migration_group}/migrations/{migration}/edit'
  81. defaults:
  82. _title: 'Edit migration'
  83. _entity_form: migration.edit
  84. requirements:
  85. _entity_access: migration.update
  86. # This is the router item for deleting an instance of our migration entity.
  87. entity.migration.delete_form:
  88. path: '/admin/structure/migrate/manage/{migration_group}/migrations/{migration}/delete'
  89. defaults:
  90. _title: 'Delete migration'
  91. _entity_form: migration.delete
  92. requirements:
  93. _entity_access: migration.delete
  94. migrate_tools.messages:
  95. path: '/admin/structure/migrate/manage/{migration_group}/migrations/{migration}/messages'
  96. defaults:
  97. _controller: '\Drupal\migrate_tools\Controller\MessageController::overview'
  98. _title: 'Messages'
  99. requirements:
  100. _permission: 'administer migrations'