You are here

bueditor.routing.yml in BUEditor 8.2

Same filename and directory in other branches
  1. 8 bueditor.routing.yml

File

bueditor.routing.yml
View source
  1. bueditor.admin:
  2. path: '/admin/config/content/bueditor'
  3. defaults:
  4. _controller: '\Drupal\bueditor\Controller\BUEditorController::adminOverview'
  5. _title: 'BUEditor'
  6. requirements:
  7. _permission: 'administer bueditor'
  8. bueditor.editor_add:
  9. path: '/admin/config/content/bueditor/add-editor'
  10. defaults:
  11. _entity_form: 'bueditor_editor.add'
  12. _title: 'Add editor'
  13. requirements:
  14. _entity_create_access: 'bueditor_editor'
  15. entity.bueditor_editor.edit_form:
  16. path: '/admin/config/content/bueditor/{bueditor_editor}'
  17. defaults:
  18. _entity_form: 'bueditor_editor.edit'
  19. _title: 'Edit editor'
  20. requirements:
  21. _entity_access: 'bueditor_editor.update'
  22. entity.bueditor_editor.delete_form:
  23. path: '/admin/config/content/bueditor/{bueditor_editor}/delete'
  24. defaults:
  25. _entity_form: 'bueditor_editor.delete'
  26. _title: 'Delete editor'
  27. requirements:
  28. _entity_access: 'bueditor_editor.delete'
  29. entity.bueditor_editor.duplicate_form:
  30. path: '/admin/config/content/bueditor/{bueditor_editor}/duplicate'
  31. defaults:
  32. _entity_form: 'bueditor_editor.duplicate'
  33. _title: 'Duplicate editor'
  34. requirements:
  35. _entity_create_access: 'bueditor_editor'
  36. bueditor.buttons:
  37. path: '/admin/config/content/bueditor/buttons'
  38. defaults:
  39. _controller: '\Drupal\bueditor\Controller\BUEditorController::buttonsOverview'
  40. _title: 'Buttons'
  41. requirements:
  42. _permission: 'administer bueditor'
  43. bueditor.button_add:
  44. path: '/admin/config/content/bueditor/buttons/add-button'
  45. defaults:
  46. _entity_form: 'bueditor_button.add'
  47. _title: 'Add button'
  48. requirements:
  49. _entity_create_access: 'bueditor_button'
  50. entity.bueditor_button.edit_form:
  51. path: '/admin/config/content/bueditor/buttons/{bueditor_button}'
  52. defaults:
  53. _entity_form: 'bueditor_button.edit'
  54. _title: 'Edit button'
  55. requirements:
  56. _entity_access: 'bueditor_button.update'
  57. entity.bueditor_button.delete_form:
  58. path: '/admin/config/content/bueditor/buttons/{bueditor_button}/delete'
  59. defaults:
  60. _entity_form: 'bueditor_button.delete'
  61. _title: 'Delete button'
  62. requirements:
  63. _entity_access: 'bueditor_button.delete'
  64. entity.bueditor_button.duplicate_form:
  65. path: '/admin/config/content/bueditor/buttons/{bueditor_button}/duplicate'
  66. defaults:
  67. _entity_form: 'bueditor_button.duplicate'
  68. _title: 'Duplicate button'
  69. requirements:
  70. _entity_create_access: 'bueditor_button'
  71. bueditor.settings:
  72. path: '/admin/config/content/bueditor/settings'
  73. defaults:
  74. _form: '\Drupal\bueditor\Form\BUEditorSettingsForm'
  75. _title: 'Settings'
  76. requirements:
  77. _permission: 'administer bueditor'
  78. drupal.xpreview:
  79. path: '/xpreview'
  80. defaults:
  81. _controller: '\Drupal\bueditor\Controller\XPreviewController::response'
  82. requirements:
  83. _permission: 'access ajax preview'