You are here

imce.routing.yml in IMCE 8

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

File

imce.routing.yml
View source
  1. imce.page:
  2. path: '/imce/{scheme}'
  3. defaults:
  4. _controller: '\Drupal\imce\Controller\ImceController::page'
  5. _title: 'File Manager'
  6. scheme: null
  7. requirements:
  8. _custom_access: '\Drupal\imce\Controller\ImceController::checkAccess'
  9. imce.admin:
  10. path: '/admin/config/media/imce'
  11. defaults:
  12. _controller: '\Drupal\imce\Controller\ImceController::adminOverview'
  13. _title: 'Imce File Manager'
  14. requirements:
  15. _permission: 'administer imce'
  16. imce.help:
  17. path: '/admin/imce/help'
  18. defaults:
  19. _controller: '\Drupal\imce\Controller\ImceHelpController::index'
  20. _title: 'Help'
  21. requirements:
  22. _permission: 'administer imce'
  23. imce.profile_add:
  24. path: '/admin/config/media/imce/add-profile'
  25. defaults:
  26. _entity_form: 'imce_profile.add'
  27. _title: 'Add configuration profile'
  28. requirements:
  29. _entity_create_access: 'imce_profile'
  30. entity.imce_profile.edit_form:
  31. path: '/admin/config/media/imce/{imce_profile}'
  32. defaults:
  33. _entity_form: 'imce_profile.edit'
  34. _title: 'Edit configuration profile'
  35. requirements:
  36. _entity_access: 'imce_profile.update'
  37. entity.imce_profile.delete_form:
  38. path: '/admin/config/media/imce/{imce_profile}/delete'
  39. defaults:
  40. _entity_form: 'imce_profile.delete'
  41. _title: 'Delete configuration profile'
  42. requirements:
  43. _entity_access: 'imce_profile.delete'
  44. entity.imce_profile.duplicate_form:
  45. path: '/admin/config/media/imce/{imce_profile}/duplicate'
  46. defaults:
  47. _entity_form: 'imce_profile.duplicate'
  48. _title: 'Duplicate configuration profile'
  49. requirements:
  50. _entity_create_access: 'imce_profile'