media_library.services.yml

Same filename in other branches
  1. 9 core/modules/media_library/media_library.services.yml
  2. 8.9.x core/modules/media_library/media_library.services.yml
  3. 10 core/modules/media_library/media_library.services.yml
core/modules/media_library/media_library.services.yml

File

core/modules/media_library/media_library.services.yml

View source
  1. services:
  2. _defaults:
  3. autoconfigure: true
  4. media_library.ui_builder:
  5. class: Drupal\media_library\MediaLibraryUiBuilder
  6. arguments: ['@entity_type.manager', '@request_stack', '@views.executable', '@form_builder', '@media_library.opener_resolver']
  7. Drupal\media_library\MediaLibraryUiBuilder: '@media_library.ui_builder'
  8. media_library.route_subscriber:
  9. class: Drupal\media_library\Routing\RouteSubscriber
  10. media_library.opener_resolver:
  11. class: Drupal\media_library\OpenerResolver
  12. tags:
  13. - { name: service_collector, tag: media_library.opener, call: addOpener }
  14. Drupal\media_library\OpenerResolverInterface: '@media_library.opener_resolver'
  15. media_library.opener.field_widget:
  16. class: Drupal\media_library\MediaLibraryFieldWidgetOpener
  17. arguments: ['@entity_type.manager']
  18. media_library.opener.editor:
  19. class: Drupal\media_library\MediaLibraryEditorOpener
  20. arguments: ['@entity_type.manager']

Services

Title Deprecated Summary
Drupal\media_library\MediaLibraryUiBuilder
Drupal\media_library\OpenerResolverInterface
media_library.opener.editor Drupal\media_library\MediaLibraryEditorOpener
media_library.opener.field_widget Drupal\media_library\MediaLibraryFieldWidgetOpener
media_library.opener_resolver Drupal\media_library\OpenerResolver
media_library.route_subscriber Drupal\media_library\Routing\RouteSubscriber
media_library.ui_builder Drupal\media_library\MediaLibraryUiBuilder
_defaults

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.