You are here

media_library.routing.yml in Drupal 8

Same filename and directory in other branches
  1. 9 core/modules/media_library/media_library.routing.yml
core/modules/media_library/media_library.routing.yml

File

core/modules/media_library/media_library.routing.yml
View source
  1. media_library.ui:
  2. path: '/media-library'
  3. defaults:
  4. _controller: 'media_library.ui_builder:buildUi'
  5. requirements:
  6. _custom_access: 'media_library.ui_builder:checkAccess'
  7. media_library.settings:
  8. path: '/admin/config/media/media-library'
  9. defaults:
  10. _form: '\Drupal\media_library\Form\SettingsForm'
  11. _title: 'Media Library settings'
  12. requirements:
  13. _permission: 'administer media'