You are here

backup_migrate.routing.yml in Backup and Migrate 8.4

Same filename and directory in other branches
  1. 5.0.x backup_migrate.routing.yml

File

backup_migrate.routing.yml
View source
  1. backup_migrate.quick_backup:
  2. path: '/admin/config/development/backup_migrate'
  3. defaults:
  4. _form: '\Drupal\backup_migrate\Form\BackupMigrateQuickBackupForm'
  5. _title: 'Backup and Migrate'
  6. requirements:
  7. _permission: 'perform backup'
  8. backup_migrate.advanced_backup:
  9. path: '/admin/config/development/backup_migrate/advanced'
  10. defaults:
  11. _form: '\Drupal\backup_migrate\Form\BackupMigrateAdvancedBackupForm'
  12. _title: 'Advanced Backup'
  13. requirements:
  14. _permission: 'perform backup'
  15. backup_migrate.restore:
  16. path: '/admin/config/development/backup_migrate/restore'
  17. defaults:
  18. _form: '\Drupal\backup_migrate\Form\BackupMigrateRestoreForm'
  19. _title: 'Restore'
  20. requirements:
  21. _permission: 'restore from backup'
  22. # Backups
  23. backup_migrate.backups:
  24. path: '/admin/config/development/backup_migrate/backups'
  25. defaults:
  26. _controller: '\Drupal\backup_migrate\Controller\BackupController::listAll'
  27. _title: 'Backups'
  28. requirements:
  29. _permission: 'access backup files'
  30. # Schedule
  31. entity.backup_migrate_schedule.collection:
  32. path: '/admin/config/development/backup_migrate/schedule'
  33. defaults:
  34. _entity_list: 'backup_migrate_schedule'
  35. _title: 'Schedule'
  36. requirements:
  37. _permission: 'administer backup and migrate'
  38. entity.backup_migrate_schedule.add:
  39. path: '/admin/config/development/backup_migrate/schedule/add'
  40. defaults:
  41. _entity_form: backup_migrate_schedule.default
  42. _title: 'Add schedule'
  43. requirements:
  44. _permission: 'administer backup and migrate'
  45. entity.backup_migrate_schedule.edit_form:
  46. path: '/admin/config/development/backup_migrate/schedule/edit/{backup_migrate_schedule}'
  47. defaults:
  48. _entity_form: backup_migrate_schedule.default
  49. _title: 'Edit schedule'
  50. requirements:
  51. _permission: 'administer backup and migrate'
  52. entity.backup_migrate_schedule.delete_form:
  53. path: '/admin/config/development/backup_migrate/schedule/delete/{backup_migrate_schedule}'
  54. defaults:
  55. _entity_form: backup_migrate_schedule.delete
  56. _title: 'Delete schedule'
  57. requirements:
  58. _permission: 'administer backup and migrate'
  59. # Settings Profile
  60. entity.backup_migrate_settings.collection:
  61. path: '/admin/config/development/backup_migrate/settings'
  62. defaults:
  63. _entity_list: 'backup_migrate_settings'
  64. _title: 'Settings'
  65. requirements:
  66. _permission: 'administer backup and migrate'
  67. entity.backup_migrate_settings.add:
  68. path: '/admin/config/development/backup_migrate/settings/add'
  69. defaults:
  70. _entity_form: backup_migrate_settings.default
  71. _title: 'Add settings profile'
  72. requirements:
  73. _permission: 'administer backup and migrate'
  74. entity.backup_migrate_settings.edit_form:
  75. path: '/admin/config/development/backup_migrate/settings/edit/{backup_migrate_settings}'
  76. defaults:
  77. _entity_form: backup_migrate_settings.default
  78. _title: 'Edit settings profile'
  79. requirements:
  80. _permission: 'administer backup and migrate'
  81. entity.backup_migrate_settings.delete_form:
  82. path: '/admin/config/development/backup_migrate/settings/delete/{backup_migrate_settings}'
  83. defaults:
  84. _entity_form: backup_migrate_settings.delete
  85. _title: 'Delete settings profile'
  86. requirements:
  87. _permission: 'administer backup and migrate'
  88. # Backup Destination
  89. entity.backup_migrate_destination.collection:
  90. path: '/admin/config/development/backup_migrate/settings/destination'
  91. defaults:
  92. _entity_list: 'backup_migrate_destination'
  93. _title: 'Backup Destination'
  94. requirements:
  95. _permission: 'administer backup and migrate'
  96. entity.backup_migrate_destination.add_form:
  97. path: '/admin/config/development/backup_migrate/settings/destination/add'
  98. defaults:
  99. _entity_form: backup_migrate_destination.default
  100. _title: 'Add destination'
  101. requirements:
  102. _permission: 'administer backup and migrate'
  103. entity.backup_migrate_destination.edit_form:
  104. path: '/admin/config/development/backup_migrate/settings/destination/edit/{backup_migrate_destination}'
  105. defaults:
  106. _entity_form: backup_migrate_destination.default
  107. _title: 'Edit destination'
  108. requirements:
  109. _permission: 'administer backup and migrate'
  110. entity.backup_migrate_destination.delete_form:
  111. path: '/admin/config/development/backup_migrate/settings/destination/delete/{backup_migrate_destination}'
  112. defaults:
  113. _entity_form: backup_migrate_destination.delete
  114. _title: 'Delete destination'
  115. requirements:
  116. _permission: 'administer backup and migrate'
  117. entity.backup_migrate_destination.backups:
  118. path: '/admin/config/development/backup_migrate/settings/destination/backups/{backup_migrate_destination}'
  119. defaults:
  120. _controller: '\Drupal\backup_migrate\Controller\BackupController::listDestinationEntityBackups'
  121. _title_callback: '\Drupal\backup_migrate\Controller\BackupController::listDestinationEntityBackupsTitle'
  122. requirements:
  123. _permission: 'administer backup and migrate'
  124. options:
  125. parameters:
  126. backup_migrate_destination:
  127. type: entity:backup_migrate_destination
  128. entity.backup_migrate_destination.backup_delete:
  129. path: '/admin/config/development/backup_migrate/settings/destination/backups/{backup_migrate_destination}/delete/{backup_id}'
  130. defaults:
  131. _form: '\Drupal\backup_migrate\Form\BackupDeleteForm'
  132. requirements:
  133. _permission: 'administer backup and migrate'
  134. options:
  135. parameters:
  136. backup_migrate_destination:
  137. type: entity:backup_migrate_destination
  138. entity.backup_migrate_destination.backup_download:
  139. path: '/admin/config/development/backup_migrate/settings/destination/backups/{backup_migrate_destination}/download/{backup_id}'
  140. defaults:
  141. _controller: '\Drupal\backup_migrate\Controller\BackupController::download'
  142. _title: 'Downlod Backup'
  143. requirements:
  144. _permission: 'administer backup and migrate'
  145. options:
  146. parameters:
  147. backup_migrate_destination:
  148. type: entity:backup_migrate_destination
  149. entity.backup_migrate_destination.backup_restore:
  150. path: '/admin/config/development/backup_migrate/settings/destination/backups/{backup_migrate_destination}/restore/{backup_id}'
  151. defaults:
  152. _form: '\Drupal\backup_migrate\Form\BackupRestoreForm'
  153. requirements:
  154. _permission: 'administer backup and migrate'
  155. options:
  156. parameters:
  157. backup_migrate_destination:
  158. type: entity:backup_migrate_destination
  159. # Backup Source
  160. entity.backup_migrate_source.collection:
  161. path: '/admin/config/development/backup_migrate/settings/source'
  162. defaults:
  163. _entity_list: 'backup_migrate_source'
  164. _title: 'Backup sources'
  165. requirements:
  166. _permission: 'administer backup and migrate'
  167. entity.backup_migrate_source.add_form:
  168. path: '/admin/config/development/backup_migrate/settings/source/add'
  169. defaults:
  170. _entity_form: backup_migrate_source.default
  171. _title: 'Add Backup Source'
  172. requirements:
  173. _permission: 'administer backup and migrate'
  174. entity.backup_migrate_source.edit_form:
  175. path: '/admin/config/development/backup_migrate/settings/source/edit/{backup_migrate_source}'
  176. defaults:
  177. _entity_form: backup_migrate_source.default
  178. _title: 'Edit source'
  179. requirements:
  180. _permission: 'administer backup and migrate'
  181. entity.backup_migrate_source.delete_form:
  182. path: '/admin/config/development/backup_migrate/settings/source/delete/{backup_migrate_source}'
  183. defaults:
  184. _entity_form: backup_migrate_source.delete
  185. _title: 'Delete source'
  186. requirements:
  187. _permission: 'administer backup and migrate'