protected property Resource::$thumbnailUrl in Drupal 9
Same name and namespace in other branches
- 8 core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::thumbnailUrl
- 10 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;