media.oembed.provider_repository

Same name in other branches
  1. 9 core/modules/media/media.services.yml \media.oembed.provider_repository
  2. 10 core/modules/media/media.services.yml \media.oembed.provider_repository
  3. 11.x 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

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

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