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