You are here

scheduled_updates.routing.yml in Scheduled Updates 8

File

scheduled_updates.routing.yml
View source
  1. # ScheduledUpdate routing definition
  2. entity.scheduled_update.canonical:
  3. path: '/admin/content/scheduled_update/{scheduled_update}'
  4. defaults:
  5. _entity_view: 'scheduled_update'
  6. _title: 'Scheduled update'
  7. requirements:
  8. _permission: 'view scheduled update entities'
  9. options:
  10. _admin_route: TRUE
  11. entity.scheduled_update.collection:
  12. path: '/admin/content/scheduled_update'
  13. defaults:
  14. _entity_list: 'scheduled_update'
  15. _title: 'Scheduled update list'
  16. requirements:
  17. _permission: 'view scheduled update entities'
  18. options:
  19. _admin_route: TRUE
  20. entity.scheduled_update.edit_form:
  21. path: '/admin/content/scheduled_update/{scheduled_update}/edit'
  22. defaults:
  23. _entity_form: scheduled_update.edit
  24. _title: 'Edit Scheduled update'
  25. requirements:
  26. _entity_access: 'scheduled_update.edit'
  27. options:
  28. _admin_route: TRUE
  29. entity.scheduled_update.delete_form:
  30. path: '/admin/content/scheduled_update/{scheduled_update}/delete'
  31. defaults:
  32. _entity_form: scheduled_update.delete
  33. _title: 'Delete Scheduled update'
  34. requirements:
  35. _entity_access: 'scheduled_update.delete'
  36. options:
  37. _admin_route: TRUE
  38. scheduled_update.add_page:
  39. path: '/admin/content/scheduled-update/add'
  40. defaults:
  41. _controller: '\Drupal\scheduled_updates\Controller\ScheduledUpdateAddController::add'
  42. _title: 'Add Scheduled update'
  43. requirements:
  44. _custom_access: '\Drupal\scheduled_updates\Controller\ScheduledUpdateAddController::addPageAccess'
  45. entity.scheduled_update.add_form:
  46. path: '/admin/content/scheduled-update/add/{scheduled_update_type}'
  47. defaults:
  48. _controller: '\Drupal\scheduled_updates\Controller\ScheduledUpdateAddController::addForm'
  49. _title_callback: '\Drupal\scheduled_updates\Controller\ScheduledUpdateAddController::getAddFormTitle'
  50. options:
  51. _admin_route: TRUE
  52. requirements:
  53. _custom_access: '\Drupal\scheduled_updates\Controller\ScheduledUpdateAddController::addFormAccess'
  54. scheduled_update.config.overview:
  55. path: '/admin/config/workflow/scheduled-update-type'
  56. defaults:
  57. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  58. _title: 'Scheduled Updates'
  59. requirements:
  60. _permission: 'administer scheduled update types'
  61. # ScheduledUpdateType routing definition
  62. entity.scheduled_update_type.collection:
  63. path: '/admin/config/workflow/scheduled-update-type/list'
  64. defaults:
  65. _entity_list: 'scheduled_update_type'
  66. _title: 'Scheduled update types'
  67. requirements:
  68. _permission: 'administer scheduled update types'
  69. options:
  70. _admin_route: TRUE
  71. entity.scheduled_update_type.add_form:
  72. path: '/admin/config/workflow/scheduled-update-type/add'
  73. defaults:
  74. _entity_form: 'scheduled_update_type.add'
  75. _title: 'Add Scheduled update type'
  76. requirements:
  77. _permission: 'administer scheduled update types'
  78. options:
  79. _admin_route: TRUE
  80. entity.scheduled_update_type.add_form.entity_type:
  81. path: '/admin/config/workflow/scheduled-update-type/add-type/{entity_type_id}/{bundle}/{mode}'
  82. defaults:
  83. _entity_form: 'scheduled_update_type.add'
  84. _title: 'Add Scheduled update type'
  85. mode: 'embedded'
  86. requirements:
  87. _permission: 'administer scheduled update types'
  88. options:
  89. _admin_route: TRUE
  90. entity.scheduled_update_type.edit_form:
  91. path: '/admin/config/workflow/scheduled-update-type/{scheduled_update_type}'
  92. defaults:
  93. _entity_form: 'scheduled_update_type.edit'
  94. _title_callback: '\Drupal\scheduled_updates\Controller\ScheduledUpdateTypeController::editTitle'
  95. requirements:
  96. _permission: 'administer scheduled update types'
  97. options:
  98. _admin_route: TRUE
  99. entity.scheduled_update_type.clone_fields:
  100. path: '/admin/config/workflow/scheduled-update-type/{scheduled_update_type}/clone-fields'
  101. defaults:
  102. _form: '\Drupal\scheduled_updates\Form\FieldClonerForm'
  103. _title_callback: '\Drupal\scheduled_updates\Controller\ScheduledUpdateTypeController::editTitle'
  104. requirements:
  105. _permission: 'administer scheduled update types'
  106. options:
  107. _admin_route: TRUE
  108. entity.scheduled_update_type.delete_form:
  109. path: '/admin/config/workflow/scheduled-update-type/{scheduled_update_type}/delete'
  110. defaults:
  111. _entity_form: 'scheduled_update_type.delete'
  112. _title: 'Delete Scheduled update type'
  113. requirements:
  114. _permission: 'administer scheduled update types'
  115. options:
  116. _admin_route: TRUE
  117. schedule_updates.runner_form:
  118. path: '/admin/config/workflow/schedule-updates/run'
  119. defaults:
  120. _form: '\Drupal\scheduled_updates\Form\UpdateRunnerForm'
  121. _title: 'Scheduled Updates'
  122. requirements:
  123. _permission: 'administer scheduled update types'
  124. scheduled_updates.settings_form:
  125. path: '/admin/config/workflow/schedule-updates/admin'
  126. defaults:
  127. _form: '\Drupal\scheduled_updates\Form\AdminForm'
  128. _title: 'AdminForm'
  129. requirements:
  130. _permission: 'access administration pages'
  131. options:
  132. _admin_route: TRUE