service media.oembed.provider_repository in Drupal 10
Same name and namespace in other branches
- 8 core/modules/media/media.services.yml \media.oembed.provider_repository
- 9 core/modules/media/media.services.yml \media.oembed.provider_repository
Class
Drupal\media\OEmbed\ProviderRepository4 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
- class: Drupal\media\OEmbed\ProviderRepository
- arguments:
- - '@http_client'
- - '@config.factory'
- - '@datetime.time'
- - '@keyvalue'
- - '@logger.factory'