public static function BrokenToolkit::isAvailable in Drupal 9
Same name and namespace in other branches
- 8 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\ImageToolkitCode
public static function isAvailable() {
return FALSE;
}