You are here

content_sync.routing.yml in Content Synchronization 3.0.x

Same filename and directory in other branches
  1. 8.2 content_sync.routing.yml
  2. 8 content_sync.routing.yml

File

content_sync.routing.yml
View source
  1. content.sync:
  2. path: '/admin/config/development/content'
  3. defaults:
  4. _title: 'Synchronize'
  5. _form: '\Drupal\content_sync\Form\ContentSync'
  6. requirements:
  7. _permission: 'synchronize content'
  8. content.diff:
  9. path: '/admin/config/development/content/sync/diff/{source_name}/{target_name}'
  10. defaults:
  11. _controller: '\Drupal\content_sync\Controller\ContentController::diff'
  12. target_name: NULL
  13. requirements:
  14. _permission: 'synchronize content'
  15. content.diff_collection:
  16. path: '/admin/config/development/content/sync/diff_collection/{collection}/{source_name}/{target_name}'
  17. defaults:
  18. _controller: '\Drupal\content_sync\Controller\ContentController::diff'
  19. target_name: NULL
  20. requirements:
  21. _permission: 'synchronize content'
  22. content.import_single:
  23. path: '/admin/config/development/content/import/single'
  24. defaults:
  25. _title: 'Single Import'
  26. _form: '\Drupal\content_sync\Form\ContentSingleImportForm'
  27. requirements:
  28. _permission: 'import content'
  29. content.import_full:
  30. path: '/admin/config/development/content/import/full'
  31. defaults:
  32. _title: 'Import Archives'
  33. _form: '\Drupal\content_sync\Form\ContentImportForm'
  34. requirements:
  35. _permission: 'import content'
  36. content.export_full:
  37. path: '/admin/config/development/content/export/full'
  38. defaults:
  39. _title: 'Export Archives'
  40. _form: '\Drupal\content_sync\Form\ContentExportForm'
  41. requirements:
  42. _permission: 'export content'
  43. content.export_download:
  44. path: '/admin/config/development/content/export/download'
  45. defaults:
  46. _controller: '\Drupal\content_sync\Controller\ContentController::downloadExport'
  47. requirements:
  48. _permission: 'export content'
  49. content.export_single:
  50. path: '/admin/config/development/content/export/single'
  51. defaults:
  52. _title: 'Single Export'
  53. _form: '\Drupal\content_sync\Form\ContentSingleExportForm'
  54. config_type: NULL
  55. config_name: NULL
  56. requirements:
  57. _permission: 'export content'
  58. content.export_multiple_confirm:
  59. path: '/admin/config/development/content/export/confirm'
  60. defaults:
  61. _form: '\Drupal\content_sync\Form\ContentExportMultiple'
  62. _title: 'Content export'
  63. requirements:
  64. _permission: 'export content'
  65. options:
  66. _admin_route: TRUE
  67. content.overview:
  68. path: '/admin/config/development/content/logs'
  69. defaults:
  70. _controller: '\Drupal\content_sync\Controller\ContentLogController::overview'
  71. _title: 'Recent log messages'
  72. requirements:
  73. _permission: 'logs content'
  74. content.settings:
  75. path: '/admin/config/development/content/settings'
  76. defaults:
  77. _title: 'Settings'
  78. _form: '\Drupal\content_sync\Form\ContentSettingsForm'
  79. requirements:
  80. _permission: 'synchronize content'
  81. options:
  82. _admin_route: TRUE
  83. content.help.about:
  84. path: '/admin/help/content_sync/about'
  85. defaults:
  86. _controller: '\Drupal\content_sync\Controller\ContentHelpController::about'
  87. _title: 'How can we help you?'
  88. requirements:
  89. _permission: 'access administration pages'
  90. content_sync.element.message.close:
  91. path: '/content_sync/message/close/{storage}/{id}'
  92. defaults:
  93. _controller: '\Drupal\content_sync\Controller\ContentElementController::close'
  94. _storage: user
  95. requirements:
  96. _user_is_logged_in: 'TRUE'
  97. _csrf_token: 'TRUE'