media.services.yml

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

File

core/modules/media/media.services.yml

View source
  1. services:
  2. plugin.manager.media.source:
  3. class: Drupal\media\MediaSourceManager
  4. parent: default_plugin_manager
  5. access_check.media.revision:
  6. class: Drupal\media\Access\MediaRevisionAccessCheck
  7. arguments: ['@entity_type.manager']
  8. tags:
  9. - { name: access_check, applies_to: _access_media_revision }
  10. media.oembed.url_resolver:
  11. class: Drupal\media\OEmbed\UrlResolver
  12. arguments: ['@media.oembed.provider_repository', '@media.oembed.resource_fetcher', '@http_client', '@module_handler', '@cache.default']
  13. media.oembed.provider_repository:
  14. class: Drupal\media\OEmbed\ProviderRepository
  15. arguments: ['@http_client', '@config.factory', '@datetime.time', '@cache.default']
  16. media.oembed.resource_fetcher:
  17. class: Drupal\media\OEmbed\ResourceFetcher
  18. arguments: ['@http_client', '@media.oembed.provider_repository', '@cache.default']
  19. media.oembed.iframe_url_helper:
  20. class: Drupal\media\IFrameUrlHelper
  21. arguments: ['@router.request_context', '@private_key']
  22. media.config_subscriber:
  23. class: Drupal\media\EventSubscriber\MediaConfigSubscriber
  24. arguments: ['@router.builder', '@cache_tags.invalidator', '@entity_type.manager']
  25. tags:
  26. - { name: event_subscriber }

Services

Title Deprecated Summary
access_check.media.revision Drupal\media\Access\MediaRevisionAccessCheck
media.config_subscriber Drupal\media\EventSubscriber\MediaConfigSubscriber
media.oembed.iframe_url_helper Drupal\media\IFrameUrlHelper
media.oembed.provider_repository Drupal\media\OEmbed\ProviderRepository
media.oembed.resource_fetcher Drupal\media\OEmbed\ResourceFetcher
media.oembed.url_resolver Drupal\media\OEmbed\UrlResolver
plugin.manager.media.source Drupal\media\MediaSourceManager

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