You are here

field_ui.routing.yml in Drupal 10

core/modules/field_ui/field_ui.routing.yml

File

core/modules/field_ui/field_ui.routing.yml
View source
  1. entity.field_storage_config.collection:
  2. path: '/admin/reports/fields'
  3. defaults:
  4. _entity_list: 'field_storage_config'
  5. _title: 'Field list'
  6. requirements:
  7. _permission: 'administer content types'
  8. field_ui.display_mode:
  9. path: '/admin/structure/display-modes'
  10. defaults:
  11. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  12. _title: 'Display modes'
  13. requirements:
  14. _permission: 'administer display modes'
  15. entity.entity_view_mode.collection:
  16. path: '/admin/structure/display-modes/view'
  17. defaults:
  18. _entity_list: 'entity_view_mode'
  19. _title: 'View modes'
  20. requirements:
  21. _permission: 'administer display modes'
  22. field_ui.entity_view_mode_add:
  23. path: '/admin/structure/display-modes/view/add'
  24. defaults:
  25. _controller: '\Drupal\field_ui\Controller\EntityDisplayModeController::viewModeTypeSelection'
  26. _title: 'Choose view mode entity type'
  27. requirements:
  28. _permission: 'administer display modes'
  29. entity.entity_view_mode.add_form:
  30. path: '/admin/structure/display-modes/view/add/{entity_type_id}'
  31. defaults:
  32. _entity_form: 'entity_view_mode.add'
  33. _title: 'Add view mode'
  34. requirements:
  35. _permission: 'administer display modes'
  36. entity.entity_view_mode.edit_form:
  37. path: '/admin/structure/display-modes/view/manage/{entity_view_mode}'
  38. defaults:
  39. _entity_form: 'entity_view_mode.edit'
  40. _title: 'Edit view mode'
  41. requirements:
  42. _entity_access: 'entity_view_mode.update'
  43. entity.entity_view_mode.delete_form:
  44. path: '/admin/structure/display-modes/view/manage/{entity_view_mode}/delete'
  45. defaults:
  46. _entity_form: 'entity_view_mode.delete'
  47. _title: 'Delete view mode'
  48. requirements:
  49. _entity_access: 'entity_view_mode.delete'
  50. entity.entity_form_mode.collection:
  51. path: '/admin/structure/display-modes/form'
  52. defaults:
  53. _entity_list: 'entity_form_mode'
  54. _title: 'Form modes'
  55. requirements:
  56. _permission: 'administer display modes'
  57. field_ui.entity_form_mode_add:
  58. path: '/admin/structure/display-modes/form/add'
  59. defaults:
  60. _controller: '\Drupal\field_ui\Controller\EntityDisplayModeController::formModeTypeSelection'
  61. _title: 'Choose form mode entity type'
  62. requirements:
  63. _permission: 'administer display modes'
  64. entity.entity_form_mode.add_form:
  65. path: '/admin/structure/display-modes/form/add/{entity_type_id}'
  66. defaults:
  67. _entity_form: 'entity_form_mode.add'
  68. _title: 'Add form mode'
  69. requirements:
  70. _permission: 'administer display modes'
  71. entity.entity_form_mode.edit_form:
  72. path: '/admin/structure/display-modes/form/manage/{entity_form_mode}'
  73. defaults:
  74. _entity_form: 'entity_form_mode.edit'
  75. _title: 'Edit form mode'
  76. requirements:
  77. _entity_access: 'entity_form_mode.update'
  78. entity.entity_form_mode.delete_form:
  79. path: '/admin/structure/display-modes/form/manage/{entity_form_mode}/delete'
  80. defaults:
  81. _entity_form: 'entity_form_mode.delete'
  82. _title: 'Delete form mode'
  83. requirements:
  84. _entity_access: 'entity_form_mode.delete'