function ImageInterface::isValid
Same name in other branches
- 9 core/lib/Drupal/Core/Image/ImageInterface.php \Drupal\Core\Image\ImageInterface::isValid()
- 8.9.x core/lib/Drupal/Core/Image/ImageInterface.php \Drupal\Core\Image\ImageInterface::isValid()
- 11.x core/lib/Drupal/Core/Image/ImageInterface.php \Drupal\Core\Image\ImageInterface::isValid()
Checks if the image is valid.
Return value
bool TRUE if the image object contains a valid image, FALSE otherwise.
1 method overrides ImageInterface::isValid()
- Image::isValid in core/
lib/ Drupal/ Core/ Image/ Image.php - Checks if the image is valid.
File
-
core/
lib/ Drupal/ Core/ Image/ ImageInterface.php, line 16
Class
- ImageInterface
- Provides an interface for image objects.
Namespace
Drupal\Core\ImageCode
public function isValid();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.