media.services.yml

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

File

core/modules/media/media.services.yml

View source
  1. parameters:
  2. media.resource_fetcher_timeout: 5
  3. services:
  4. _defaults:
  5. autoconfigure: true
  6. plugin.manager.media.source:
  7. class: Drupal\media\MediaSourceManager
  8. parent: default_plugin_manager
  9. media.oembed.url_resolver:
  10. class: Drupal\media\OEmbed\UrlResolver
  11. arguments: ['@media.oembed.provider_repository', '@media.oembed.resource_fetcher', '@http_client', '@module_handler', '@cache.default']
  12. Drupal\media\OEmbed\UrlResolverInterface: '@media.oembed.url_resolver'
  13. media.oembed.provider_repository:
  14. class: Drupal\media\OEmbed\ProviderRepository
  15. arguments: ['@http_client', '@config.factory', '@datetime.time', '@keyvalue', '@logger.factory']
  16. Drupal\media\OEmbed\ProviderRepositoryInterface: '@media.oembed.provider_repository'
  17. media.oembed.resource_fetcher:
  18. class: Drupal\media\OEmbed\ResourceFetcher
  19. arguments: ['@http_client', '@media.oembed.provider_repository', '@cache.default', '%media.resource_fetcher_timeout%']
  20. Drupal\media\OEmbed\ResourceFetcherInterface: '@media.oembed.resource_fetcher'
  21. media.oembed.iframe_url_helper:
  22. class: Drupal\media\IFrameUrlHelper
  23. arguments: ['@router.request_context', '@private_key']
  24. Drupal\media\IFrameUrlHelper: '@media.oembed.iframe_url_helper'
  25. media.config_subscriber:
  26. class: Drupal\media\EventSubscriber\MediaConfigSubscriber
  27. arguments: ['@router.builder', '@cache_tags.invalidator', '@entity_type.manager']

Services

Title Deprecated Summary
Drupal\media\IFrameUrlHelper
Drupal\media\OEmbed\ProviderRepositoryInterface
Drupal\media\OEmbed\ResourceFetcherInterface
Drupal\media\OEmbed\UrlResolverInterface
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
_defaults

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