media.services.yml

Same filename and directory in other branches
  1. 10 core/modules/media/media.services.yml
  2. 11.x core/modules/media/media.services.yml
  3. 9 core/modules/media/media.services.yml
  4. 8.9.x 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. media.skip_procedural_hook_scan: true
  4. services:
  5. _defaults:
  6. autoconfigure: true
  7. autowire: true
  8. plugin.manager.media.source:
  9. class: Drupal\media\MediaSourceManager
  10. parent: default_plugin_manager
  11. media.oembed.url_resolver:
  12. class: Drupal\media\OEmbed\UrlResolver
  13. arguments: ['@media.oembed.provider_repository', '@media.oembed.resource_fetcher', '@http_client', '@module_handler', '@cache.default']
  14. Drupal\media\OEmbed\UrlResolverInterface: '@media.oembed.url_resolver'
  15. media.oembed.provider_repository:
  16. class: Drupal\media\OEmbed\ProviderRepository
  17. arguments: ['@http_client', '@config.factory', '@datetime.time', '@keyvalue', '@logger.factory']
  18. Drupal\media\OEmbed\ProviderRepositoryInterface: '@media.oembed.provider_repository'
  19. media.oembed.resource_fetcher:
  20. class: Drupal\media\OEmbed\ResourceFetcher
  21. arguments: ['@http_client', '@media.oembed.provider_repository', '@cache.default', '%media.resource_fetcher_timeout%']
  22. Drupal\media\OEmbed\ResourceFetcherInterface: '@media.oembed.resource_fetcher'
  23. media.oembed.iframe_url_helper:
  24. class: Drupal\media\IFrameUrlHelper
  25. Drupal\media\IFrameUrlHelper: '@media.oembed.iframe_url_helper'
  26. media.config_subscriber:
  27. class: Drupal\media\EventSubscriber\MediaConfigSubscriber
  28. Drupal\media\EventSubscriber\DefaultContentSubscriber: ~

Services

Title Deprecated Summary
Drupal\media\EventSubscriber\DefaultContentSubscriber
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.