You are here

entity_browser.routing.yml in Entity Browser 8

Same filename and directory in other branches
  1. 8.2 entity_browser.routing.yml

File

entity_browser.routing.yml
View source
  1. route_callbacks:
  2. - 'entity_browser.route_subscriber:routes'
  3. entity_browser.edit_form:
  4. path: /entity_browser/{entity_type}/{entity}/edit
  5. defaults:
  6. _controller: '\Drupal\entity_browser\Controllers\EntityBrowserController::entityBrowserEdit'
  7. requirements:
  8. _entity_access: 'entity.update'
  9. options:
  10. _admin_route: TRUE
  11. parameters:
  12. entity:
  13. type: entity:{entity_type}
  14. entity.entity_browser.add_form:
  15. path: '/admin/config/content/entity_browser/add'
  16. defaults:
  17. _entity_form: 'entity_browser.edit'
  18. _title: 'Add Entity browser'
  19. tempstore_id: 'entity_browser.config'
  20. requirements:
  21. _permission: 'administer entity browsers'
  22. entity.entity_browser.edit_form:
  23. path: '/admin/config/content/entity_browser/{entity_browser}/edit'
  24. defaults:
  25. _entity_form: 'entity_browser.edit'
  26. _title: 'Edit Entity Browser'
  27. requirements:
  28. _permission: 'administer entity browsers'
  29. entity.entity_browser.edit_widgets:
  30. path: '/admin/config/content/entity_browser/{entity_browser}/widgets'
  31. defaults:
  32. _entity_form: 'entity_browser.edit_widgets'
  33. _title: 'Edit Widgets'
  34. requirements:
  35. _permission: 'administer entity browsers'
  36. entity.entity_browser.collection:
  37. path: '/admin/config/content/entity_browser'
  38. defaults:
  39. _entity_list: 'entity_browser'
  40. _title: 'Entity Browsers'
  41. requirements:
  42. _permission: 'administer entity browsers'
  43. entity.entity_browser.delete_form:
  44. path: '/admin/config/content/entity_browser/{entity_browser}/delete'
  45. defaults:
  46. _entity_form: 'entity_browser.delete'
  47. _title: 'Delete Entity browser'
  48. requirements:
  49. _permission: 'administer entity browsers'