public function MockProvider::downloadThumbnail in Video Embed Field 8
Same name and namespace in other branches
- 8.2 tests/modules/video_embed_field_mock_provider/src/Plugin/video_embed_field/Provider/MockProvider.php \Drupal\video_embed_field_mock_provider\Plugin\video_embed_field\Provider\MockProvider::downloadThumbnail()
Download the remote thumbnail URL to the local thumbnail URI.
Overrides ProviderPluginInterface::downloadThumbnail
File
- tests/
modules/ video_embed_field_mock_provider/ src/ Plugin/ video_embed_field/ Provider/ MockProvider.php, line 59
Class
- MockProvider
- A mock video provider for use in tests.
Namespace
Drupal\video_embed_field_mock_provider\Plugin\video_embed_field\ProviderCode
public function downloadThumbnail() {
return TRUE;
}