public function ImageToolkitInterface::isValid in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::isValid()
- 9 core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::isValid()
Checks if the image is valid.
Return value
bool TRUE if the image toolkit is currently handling a valid image, FALSE otherwise.
1 method overrides ImageToolkitInterface::isValid()
- TestToolkit::isValid in core/
modules/ system/ tests/ modules/ image_test/ src/ Plugin/ ImageToolkit/ TestToolkit.php - Checks if the image is valid.
File
- core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitInterface.php, line 79
Class
- ImageToolkitInterface
- Defines an interface for image toolkits.
Namespace
Drupal\Core\ImageToolkitCode
public function isValid();