public static function ImagickToolkit::isAvailable in Imagick 8
Verifies that the Image Toolkit is set up correctly.
Return value
bool TRUE if the toolkit is available on this machine, FALSE otherwise.
Overrides ImageToolkitInterface::isAvailable
File
- src/
Plugin/ ImageToolkit/ ImagickToolkit.php, line 351
Class
- ImagickToolkit
- Defines the Imagick toolkit for image manipulation within Drupal.
Namespace
Drupal\imagick\Plugin\ImageToolkitCode
public static function isAvailable() {
return extension_loaded('imagick');
}