You are here

feeds.routing.yml in Feeds 8.3

File

feeds.routing.yml
View source
  1. feeds.admin:
  2. path: '/admin/content/feed'
  3. defaults:
  4. _title: 'Feeds'
  5. _entity_list: 'feeds_feed'
  6. requirements:
  7. _permission: 'access feed overview'
  8. feeds.item_list:
  9. path: '/feed/{feeds_feed}/list'
  10. defaults:
  11. _controller: 'Drupal\feeds\Controller\ItemListController:listItems'
  12. _title: 'Feed items'
  13. requirements:
  14. _entity_access: 'feeds_feed.view'
  15. feeds_feed: \d+
  16. feeds.multiple_delete_confirm:
  17. path: '/admin/content/feed/delete'
  18. defaults:
  19. _form: 'Drupal\feeds\Form\DeleteMultiple'
  20. requirements:
  21. _permission: 'administer feeds'
  22. entity.feeds_feed.import_form:
  23. path: '/feed/{feeds_feed}/import'
  24. defaults:
  25. _entity_form: 'feeds_feed.import'
  26. options:
  27. _admin_route: TRUE
  28. requirements:
  29. _entity_access: 'feeds_feed.import'
  30. feeds_feed: \d+
  31. entity.feeds_feed.schedule_import_form:
  32. path: '/feed/{feeds_feed}/schedule-import'
  33. defaults:
  34. _entity_form: 'feeds_feed.schedule_import'
  35. options:
  36. _admin_route: TRUE
  37. requirements:
  38. _entity_access: 'feeds_feed.schedule_import'
  39. feeds_feed: \d+
  40. entity.feeds_feed.clear_form:
  41. path: '/feed/{feeds_feed}/delete-items'
  42. defaults:
  43. _entity_form: 'feeds_feed.clear'
  44. options:
  45. _admin_route: TRUE
  46. requirements:
  47. _entity_access: 'feeds_feed.clear'
  48. feeds_feed: \d+
  49. entity.feeds_feed.unlock:
  50. path: '/feed/{feeds_feed}/unlock'
  51. defaults:
  52. _entity_form: 'feeds_feed.unlock'
  53. options:
  54. _admin_route: TRUE
  55. requirements:
  56. _entity_access: 'feeds_feed.unlock'
  57. feeds_feed: \d+
  58. entity.feeds_feed.receive:
  59. path: '/feed/{feeds_subscription}/{feeds_push_token}/push_callback'
  60. defaults:
  61. _controller: 'Drupal\feeds\Controller\SubscriptionController::receive'
  62. requirements:
  63. _access: 'TRUE'
  64. feeds_subscription: \d+
  65. methods: [POST]
  66. entity.feeds_feed.subscribe:
  67. path: '/feed/{feeds_subscription_id}/{feeds_push_token}/push_callback'
  68. defaults:
  69. _controller: 'Drupal\feeds\Controller\SubscriptionController::subscribe'
  70. requirements:
  71. _access: 'TRUE'
  72. feeds_subscription_id: \d+
  73. methods: [GET]
  74. # Admin UI routes.
  75. entity.feeds_feed_type.collection:
  76. path: '/admin/structure/feeds'
  77. defaults:
  78. _entity_list: 'feeds_feed_type'
  79. _title: 'Feed types'
  80. requirements:
  81. _permission: 'administer feeds'
  82. entity.feeds_feed_type.mapping:
  83. path: '/admin/structure/feeds/manage/{feeds_feed_type}/mapping'
  84. defaults:
  85. _form: '\Drupal\feeds\Form\MappingForm'
  86. _title_callback: '\Drupal\feeds\Form\MappingForm::mappingTitle'
  87. requirements:
  88. _entity_access: 'feeds_feed_type.mapping'