media.oembed.resource_fetcher
Same name in other branches
- 9 core/modules/media/media.services.yml \media.oembed.resource_fetcher
- 8.9.x core/modules/media/media.services.yml \media.oembed.resource_fetcher
- 11.x core/modules/media/media.services.yml \media.oembed.resource_fetcher
Class
Drupal\media\OEmbed\ResourceFetcher8 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.
- OEmbedIframeControllerTest::testResourcePassedToPreprocess in core/
modules/ media/ tests/ src/ Kernel/ OEmbedIframeControllerTest.php - Tests that resources can be used in media_oembed_iframe preprocess.
File
-
core/
modules/ media/ media.services.yml
View source
- class: Drupal\media\OEmbed\ResourceFetcher
- arguments:
- - '@http_client'
- - '@media.oembed.provider_repository'
- - '@cache.default'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.