You are here

service media.oembed.provider_repository in Drupal 10

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

Class

Drupal\media\OEmbed\ProviderRepository
4 string references to media.oembed.provider_repository
MediaTestOembedServiceProvider::alter in core/modules/media/tests/modules/media_test_oembed/src/MediaTestOembedServiceProvider.php
Modifies existing service definitions.
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.
ProviderRepositoryTest::testEmptyProviderList in core/modules/media/tests/src/Functional/ProviderRepositoryTest.php
Tests that provider discovery fails if the provider database is empty.
ProviderRepositoryTest::testNonExistingProviderDatabase in core/modules/media/tests/src/Functional/ProviderRepositoryTest.php
Tests that provider discovery fails with a non-existent provider database.

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. - '@keyvalue'
  7. - '@logger.factory'