public function MockProvider::getLocalThumbnailUri 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::getLocalThumbnailUri()
Get the URL to the local thumbnail.
This method does not gartunee that the file will exist, only that it will be the location of the thumbnail after the download thumbnail method has been called.
Return value
string The URI for the local thumbnail.
Overrides ProviderPluginInterface::getLocalThumbnailUri
File
- tests/
modules/ video_embed_field_mock_provider/ src/ Plugin/ video_embed_field/ Provider/ MockProvider.php, line 52
Class
- MockProvider
- A mock video provider for use in tests.
Namespace
Drupal\video_embed_field_mock_provider\Plugin\video_embed_field\ProviderCode
public function getLocalThumbnailUri() {
return '';
}