You are here

public static function ImageToolkitInterface::isAvailable in Drupal 8

Same name and namespace in other branches
  1. 9 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\ImageToolkit

Code

public static function isAvailable();