You are here

service media.oembed.url_resolver in Drupal 9

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

Class

Drupal\media\OEmbed\UrlResolver
7 string references to media.oembed.url_resolver
OEmbed::create in core/modules/media/src/Plugin/media/Source/OEmbed.php
Creates an instance of the plugin.
OEmbedForm::create in core/modules/media_library/src/Form/OEmbedForm.php
Instantiates a new instance of this class.
OEmbedFormatter::create in core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php
Creates an instance of the plugin.
OEmbedIframeController::create in core/modules/media/src/Controller/OEmbedIframeController.php
Instantiates a new instance of this class.
OEmbedIframeControllerTest::testResourcePassedToPreprocess in core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php
Tests that resources can be used in media_oembed_iframe preprocess.

... See full list

File

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

View source
  1. class: Drupal\media\OEmbed\UrlResolver
  2. arguments:
  3. - '@media.oembed.provider_repository'
  4. - '@media.oembed.resource_fetcher'
  5. - '@http_client'
  6. - '@module_handler'
  7. - '@cache.default'