You are here

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\ImageToolkit

Code

public static function isAvailable() {
  return extension_loaded('imagick');
}