You are here

config_pages.routing.yml in Config Pages 8.3

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

File

config_pages.routing.yml
View source
  1. entity.config_pages_type.collection:
  2. path: '/admin/structure/config_pages/types'
  3. defaults:
  4. _entity_list: 'config_pages_type'
  5. _title: 'Config Pages Types'
  6. requirements:
  7. _permission: 'administer config_pages types'
  8. config_pages.add_form:
  9. path: '/admin/structure/config_pages/{config_pages_type}/edit'
  10. defaults:
  11. _controller: '\Drupal\config_pages\Controller\ConfigPagesController::classInit'
  12. _title_callback: 'Drupal\config_pages\Controller\ConfigPagesController::getAddFormTitle'
  13. options:
  14. _admin_route: TRUE
  15. requirements:
  16. _entity_access: 'config_pages_type.update'
  17. entity.config_pages_type.delete_form:
  18. path: '/admin/structure/config_pages/types/manage/{config_pages_type}/delete'
  19. defaults:
  20. _entity_form: 'config_pages_type.delete'
  21. _title: 'Delete'
  22. requirements:
  23. _entity_access: 'config_pages_type.delete'
  24. options:
  25. _admin_route: TRUE
  26. entity.config_pages.canonical:
  27. path: '/admin/structure/config_pages/{config_pages}'
  28. defaults:
  29. _entity_form: 'config_pages.edit'
  30. _title: 'Config Pages'
  31. options:
  32. _admin_route: TRUE
  33. requirements:
  34. _entity_access: 'config_pages.update'
  35. entity.config_pages.edit_form:
  36. path: '/admin/structure/config_pages/{config_pages}/edit'
  37. defaults:
  38. _entity_form: 'config_pages.edit'
  39. _title: 'Edit'
  40. options:
  41. _admin_route: TRUE
  42. requirements:
  43. _entity_access: 'config_pages.update'
  44. config_pages.type_add:
  45. path: '/admin/structure/config_pages/types/add'
  46. defaults:
  47. _entity_form: 'config_pages_type.add'
  48. _title: 'Add Config Page type'
  49. requirements:
  50. _permission: 'administer config_pages types'
  51. entity.config_pages_type.edit_form:
  52. path: '/admin/structure/config_pages/types/manage/{config_pages_type}'
  53. defaults:
  54. _entity_form: 'config_pages_type.edit'
  55. _title: 'Edit'
  56. requirements:
  57. _entity_access: 'config_pages_type.update'
  58. entity.config_pages.collection:
  59. path: '/admin/structure/config_pages'
  60. defaults:
  61. _title: 'Config pages library'
  62. _entity_list: 'config_pages'
  63. requirements:
  64. _permission: 'edit config_pages entity+access config_pages overview'
  65. route_callbacks:
  66. - '\Drupal\config_pages\Routing\ConfigPagesRoutes::routes'
  67. entity.config_pages.clear_confirmation:
  68. path: '/admin/structure/config_pages/confirmPurge/{config_pages}'
  69. defaults:
  70. _controller: '\Drupal\config_pages\Controller\ConfigPagesController::clearConfirmation'
  71. _title: 'Purge all config page values'
  72. requirements:
  73. _permission: 'administer config_pages types'