You are here

service media.oembed.resource_fetcher in Drupal 8

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

Class

Drupal\media\OEmbed\ResourceFetcher
7 string references to media.oembed.resource_fetcher
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.
OEmbedResourceConstraintValidator::create in core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php
Instantiates a new instance of this class.

... See full list

File

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

View source
  1. class: Drupal\media\OEmbed\ResourceFetcher
  2. arguments:
  3. - '@http_client'
  4. - '@media.oembed.provider_repository'
  5. - '@cache.default'