Resource::$thumbnailUrl
Same name in other branches
- 9 core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::thumbnailUrl
- 8.9.x core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::thumbnailUrl
- 11.x core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::thumbnailUrl
A URL to a thumbnail image representing the resource.
The thumbnail must respect any maxwidth and maxheight parameters passed to the oEmbed endpoint. If this parameter is present, thumbnail_width and thumbnail_height must also be present.
Type: string
See also
\Drupal\media\OEmbed\UrlResolverInterface::getResourceUrl()
File
-
core/
modules/ media/ src/ OEmbed/ Resource.php, line 100
Class
- Resource
- Value object representing an oEmbed resource.
Namespace
Drupal\media\OEmbedCode
protected $thumbnailUrl;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.