You are here

layout_builder_browser.routing.yml in Layout Builder Browser 8

File

layout_builder_browser.routing.yml
View source
  1. layout_builder_browser.add_block:
  2. path: '/layout_builder_browser/choose/block/{section_storage_type}/{section_storage}/{delta}/{region}'
  3. defaults:
  4. _controller: '\Drupal\layout_builder_browser\Controller\BrowserController::browse'
  5. _title: 'Choose a block'
  6. requirements:
  7. _layout_builder_access: 'view'
  8. options:
  9. _admin_route: TRUE
  10. parameters:
  11. section_storage:
  12. layout_builder_tempstore: TRUE
  13. layout_builder_browser.admin_blocklisting:
  14. path: '/admin/config/content/layout-builder-browser'
  15. defaults:
  16. _form: '\Drupal\layout_builder_browser\Form\BlockListingForm'
  17. _title: 'Layout Builder Browser configuration'
  18. requirements:
  19. _permission: 'administer site configuration'
  20. entity.layout_builder_browser_block.add_form:
  21. path: '/admin/config/content/layout-builder-browser/blocks/add'
  22. defaults:
  23. _entity_form: 'layout_builder_browser_block.add'
  24. _title: 'Add block'
  25. requirements:
  26. _permission: 'administer site configuration'
  27. entity.layout_builder_browser_block.edit_form:
  28. path: '/admin/config/content/layout-builder-browser/blocks/{layout_builder_browser_block}'
  29. defaults:
  30. _entity_form: 'layout_builder_browser_block.edit'
  31. requirements:
  32. _permission: 'administer site configuration'
  33. entity.layout_builder_browser_block.delete_form:
  34. path: '/admin/config/content/layout-builder-browser/blocks/{layout_builder_browser_block}/delete'
  35. defaults:
  36. _entity_form: 'layout_builder_browser_block.delete'
  37. _title: 'Delete'
  38. requirements:
  39. _permission: 'administer site configuration'
  40. entity.layout_builder_browser_blockcat.add_form:
  41. path: '/admin/config/content/layout-builder-browser/categories/add'
  42. defaults:
  43. _entity_form: 'layout_builder_browser_blockcat.add'
  44. _title: 'Add Block Category'
  45. requirements:
  46. _permission: 'administer site configuration'
  47. entity.layout_builder_browser_blockcat.edit_form:
  48. path: '/admin/config/content/layout-builder-browser/categories/{layout_builder_browser_blockcat}/edit'
  49. defaults:
  50. _entity_form: 'layout_builder_browser_blockcat.edit'
  51. requirements:
  52. _permission: 'administer site configuration'
  53. entity.layout_builder_browser_blockcat.delete_form:
  54. path: '/admin/config/content/layout-builder-browser/categories/{layout_builder_browser_blockcat}/delete'
  55. defaults:
  56. _entity_form: 'layout_builder_browser_blockcat.delete'
  57. _title: 'Delete'
  58. requirements:
  59. _permission: 'administer site configuration'
  60. entity.layout_builder_browser_blockcat.collection:
  61. path: '/admin/config/content/layout-builder-browser/categories'
  62. defaults:
  63. _entity_list: 'layout_builder_browser_blockcat'
  64. _title: 'Block categories'
  65. requirements:
  66. _permission: 'administer site configuration'
  67. layout_builder_browser.admin_settings:
  68. path: '/admin/config/content/layout-builder-browser/settings'
  69. defaults:
  70. _form: '\Drupal\layout_builder_browser\Form\SettingsForm'
  71. _title: 'Layout Builder Browser settings'
  72. requirements:
  73. _permission: 'administer site configuration'