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