Resource::$thumbnailHeight

Same name in other branches
  1. 9 core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::thumbnailHeight
  2. 8.9.x core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::thumbnailHeight
  3. 11.x core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::thumbnailHeight

The height of the thumbnail, in pixels.

If this parameter is present, thumbnail_url and thumbnail_width must also be present.

Type: int

File

core/modules/media/src/OEmbed/Resource.php, line 120

Class

Resource
Value object representing an oEmbed resource.

Namespace

Drupal\media\OEmbed

Code

protected $thumbnailHeight;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.