You are here

media_library.services.yml in Drupal 10

core/modules/media_library/media_library.services.yml

File

core/modules/media_library/media_library.services.yml
View source
  1. services:
  2. media_library.ui_builder:
  3. class: Drupal\media_library\MediaLibraryUiBuilder
  4. arguments: ['@entity_type.manager', '@request_stack', '@views.executable', '@form_builder', '@media_library.opener_resolver']
  5. media_library.route_subscriber:
  6. class: Drupal\media_library\Routing\RouteSubscriber
  7. tags:
  8. - { name: event_subscriber }
  9. media_library.opener_resolver:
  10. class: Drupal\media_library\OpenerResolver
  11. calls:
  12. - [setContainer, ['@service_container']]
  13. media_library.opener.field_widget:
  14. class: Drupal\media_library\MediaLibraryFieldWidgetOpener
  15. arguments: ['@entity_type.manager']
  16. media_library.opener.editor:
  17. class: Drupal\media_library\MediaLibraryEditorOpener
  18. arguments: ['@entity_type.manager']