You are here

public static function BrokenToolkit::isAvailable in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/BrokenToolkit.php \Drupal\image_test\Plugin\ImageToolkit\BrokenToolkit::isAvailable()
  2. 10 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;
}