You are here

public static function BrokenToolkit::isAvailable in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/BrokenToolkit.php \Drupal\image_test\Plugin\ImageToolkit\BrokenToolkit::isAvailable()
  2. 9 core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/BrokenToolkit.php \Drupal\image_test\Plugin\ImageToolkit\BrokenToolkit::isAvailable()

Verifies that the Image Toolkit is set up correctly.

Return value

bool TRUE if the toolkit is available on this machine, FALSE otherwise.

Overrides TestToolkit::isAvailable

File

core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/BrokenToolkit.php, line 18

Class

BrokenToolkit
Defines a Test toolkit for image manipulation within Drupal.

Namespace

Drupal\image_test\Plugin\ImageToolkit

Code

public static function isAvailable() {
  return FALSE;
}