function ImageToolkitInterface::getHeight
Same name in other branches
- 8.9.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::getHeight()
- 10 core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::getHeight()
- 11.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::getHeight()
Returns the height of the image.
Return value
int|null The height of the image, or NULL if the image is invalid.
2 methods override ImageToolkitInterface::getHeight()
- GDToolkit::getHeight in core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php - Returns the height of the image.
- TestToolkit::getHeight in core/
modules/ system/ tests/ modules/ image_test/ src/ Plugin/ ImageToolkit/ TestToolkit.php - Returns the height of the image.
File
-
core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitInterface.php, line 110
Class
- ImageToolkitInterface
- Defines an interface for image toolkits.
Namespace
Drupal\Core\ImageToolkitCode
public function getHeight();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.