You are here

protected property Resource::$thumbnailWidth in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::thumbnailWidth

The width of the thumbnail, in pixels.

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

Type: int

File

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

Class

Resource
Value object representing an oEmbed resource.

Namespace

Drupal\media\OEmbed

Code

protected $thumbnailWidth;