You are here

elfinder.routing.yml in elFinder file manager 8.2

File

elfinder.routing.yml
View source
  1. elfinder:
  2. path: '/elfinder'
  3. defaults:
  4. _controller: '\Drupal\elfinder\Controller\elFinderPageController::getBrowser'
  5. _title: 'File browser'
  6. scheme: null
  7. requirements:
  8. _custom_access: '\Drupal\elfinder\Controller\elFinderPageController::checkAccess'
  9. requirements:
  10. _permission: 'use file manager'
  11. elfinder.page:
  12. path: '/admin/content/elfinder'
  13. options:
  14. _admin_route: TRUE
  15. defaults:
  16. _controller: '\Drupal\elfinder\Controller\elFinderPageController::getBrowserPage'
  17. _title: 'File browser'
  18. scheme: null
  19. requirements:
  20. _custom_access: '\Drupal\elfinder\Controller\elFinderPageController::checkAccess'
  21. requirements:
  22. _permission: 'use file manager'
  23. elfinder.connector:
  24. path: '/elfinder/connector'
  25. defaults:
  26. _controller: '\Drupal\elfinder\Controller\elFinderConnectorController::getConnector'
  27. requirements:
  28. _permission: 'use file manager'
  29. elfinder.admin:
  30. path: '/admin/config/media/elfinder'
  31. defaults:
  32. _controller: '\Drupal\elfinder\Controller\elFinderAdminController::adminSettings'
  33. _title: 'elFinder Configuration'
  34. requirements:
  35. _permission: 'administer file manager'
  36. elfinder.profile_add:
  37. path: '/admin/config/media/elfinder/profile/add'
  38. defaults:
  39. _entity_form: 'elfinder_profile.add'
  40. _title: 'Add configuration profile'
  41. requirements:
  42. _entity_create_access: 'elfinder_profile'
  43. entity.elfinder_profile.edit_form:
  44. path: '/admin/config/media/elfinder/profile/{elfinder_profile}/edit'
  45. defaults:
  46. _entity_form: 'elfinder_profile.edit'
  47. _title: 'Edit configuration profile'
  48. requirements:
  49. _entity_access: 'elfinder_profile.update'
  50. entity.elfinder_profile.delete_form:
  51. path: '/admin/config/media/elfinder/profile/{elfinder_profile}/delete'
  52. defaults:
  53. _entity_form: 'elfinder_profile.delete'
  54. _title: 'Delete configuration profile'
  55. requirements:
  56. _entity_access: 'elfinder_profile.delete'
  57. entity.elfinder_profile.duplicate_form:
  58. path: '/admin/config/media/elfinder/profile/{elfinder_profile}/duplicate'
  59. defaults:
  60. _entity_form: 'elfinder_profile.duplicate'
  61. _title: 'Duplicate configuration profile'
  62. requirements:
  63. _entity_create_access: 'elfinder_profile'