BrokenToolkit.php in Drupal 10
Same filename and directory in other branches
Namespace
Drupal\image_test\Plugin\ImageToolkitFile
core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/BrokenToolkit.phpView source
<?php
namespace Drupal\image_test\Plugin\ImageToolkit;
/**
* Defines a Test toolkit for image manipulation within Drupal.
*
* @ImageToolkit(
* id = "broken",
* title = @Translation("A dummy toolkit that is broken")
* )
*/
class BrokenToolkit extends TestToolkit {
/**
* {@inheritdoc}
*/
public static function isAvailable() {
return FALSE;
}
}
Classes
Name | Description |
---|---|
BrokenToolkit | Defines a Test toolkit for image manipulation within Drupal. |