public function ImageInterface::isValid
public ImageInterface::isValid()
Checks if the image is valid.
Return value
bool TRUE if the image object contains a valid image, FALSE otherwise.
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();
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Image!ImageInterface.php/function/ImageInterface::isValid/8.1.x