W3cubDocs

/Drupal 8

public function ImageToolkitInterface::isValid

public ImageToolkitInterface::isValid()

Checks if the image is valid.

Return value

bool TRUE if the image toolkit is currently handling a valid image, FALSE otherwise.

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php, line 79

Class

ImageToolkitInterface
Defines an interface for image toolkits.

Namespace

Drupal\Core\ImageToolkit

Code

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!ImageToolkit!ImageToolkitInterface.php/function/ImageToolkitInterface::isValid/8.1.x