You are here

public static function TestToolkit::isAvailable in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php \Drupal\image_test\Plugin\ImageToolkit\TestToolkit::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 ImageToolkitInterface::isAvailable

1 method overrides TestToolkit::isAvailable()
BrokenToolkit::isAvailable in core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/BrokenToolkit.php
Verifies that the Image Toolkit is set up correctly.

File

core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php, line 236
Contains \Drupal\image_test\Plugin\ImageToolkit\TestToolkit.

Class

TestToolkit
Defines a Test toolkit for image manipulation within Drupal.

Namespace

Drupal\image_test\Plugin\ImageToolkit

Code

public static function isAvailable() {
  return TRUE;
}