You are here

public static function ImageToolkitInterface::isAvailable in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::isAvailable()
  2. 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.

1 method overrides ImageToolkitInterface::isAvailable()
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();