function Resource::getThumbnailWidth
Returns the width of the resource's thumbnail image.
Return value
int|null The thumbnail width in pixels, or NULL if there is no thumbnail.
File
-
core/
modules/ media/ src/ OEmbed/ Resource.php, line 425
Class
- Resource
- Value object representing an oEmbed resource.
Namespace
Drupal\media\OEmbedCode
public function getThumbnailWidth() {
return $this->thumbnailWidth;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.