function ImageToolkitInterface::isAvailable
Same name in other branches
- 8.9.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::isAvailable()
- 10 core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::isAvailable()
- 11.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::isAvailable()
Verifies that the Image Toolkit is set up correctly.
Return value
bool TRUE if the toolkit is available on this machine, FALSE otherwise.
2 methods override ImageToolkitInterface::isAvailable()
- GDToolkit::isAvailable in core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php - Verifies that the Image Toolkit is set up correctly.
- TestToolkit::isAvailable in core/
modules/ system/ tests/ modules/ image_test/ src/ Plugin/ ImageToolkit/ TestToolkit.php - Verifies that the Image Toolkit is set up correctly.
File
-
core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitInterface.php, line 149
Class
- ImageToolkitInterface
- Defines an interface for image toolkits.
Namespace
Drupal\Core\ImageToolkitCode
public static function isAvailable();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.