You are here

service media.oembed.provider_repository in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/media/media.services.yml \media.oembed.provider_repository

Class

Drupal\media\OEmbed\ProviderRepository
1 string reference to media.oembed.provider_repository
OEmbedTestTrait::hijackProviderEndpoints in core/modules/media/tests/src/Traits/OEmbedTestTrait.php
Ensures that all oEmbed provider endpoints defined in the fixture providers.json will use the media_test_oembed.resource.get route as their URL.

File

core/modules/media/media.services.yml
core/modules/media/media.services.yml

View source
  1. class: Drupal\media\OEmbed\ProviderRepository
  2. arguments:
  3. - '@http_client'
  4. - '@config.factory'
  5. - '@datetime.time'
  6. - '@cache.default'