You are here

scheduled_publish.routing.yml in Scheduled Publish 8.3

File

scheduled_publish.routing.yml
View source
  1. scheduled_publish.multiple_updates:
  2. path: '/admin/content/scheduled-publish/add'
  3. defaults:
  4. _title: 'Add scheduled publish'
  5. _form: '\Drupal\scheduled_publish\Form\MultipleUpdatesForm'
  6. requirements:
  7. _permission: 'access scheduled publish pages'
  8. scheduled_publish.edit_update:
  9. path: '/admin/content/scheduled-publish/edit/{entity}/{field_delta}'
  10. defaults:
  11. _title: 'Edit scheduled publish'
  12. _form: '\Drupal\scheduled_publish\Form\EditUpdateForm'
  13. requirements:
  14. _permission: 'access scheduled publish pages'
  15. options:
  16. parameters:
  17. entity:
  18. type: entity:node
  19. scheduled_publish.delete_update:
  20. path: '/admin/content/scheduled-publish/delete/{entity}/{field_delta}'
  21. defaults:
  22. _title: 'Delete scheduled publish'
  23. _form: '\Drupal\scheduled_publish\Form\DeleteUpdateForm'
  24. requirements:
  25. _permission: 'access scheduled publish pages'
  26. options:
  27. parameters:
  28. entity:
  29. type: entity:node
  30. scheduled_publish.listing_page:
  31. path: '/admin/content/scheduled-publish'
  32. defaults:
  33. _title: 'Scheduled publish'
  34. _controller: 'Drupal\scheduled_publish\Controller\ScheduledPublishListing::viewListing'
  35. requirements:
  36. _permission: 'view any unpublished content'