class BrokenToolkit

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/BrokenToolkit.php \Drupal\image_test\Plugin\ImageToolkit\BrokenToolkit

Defines a Test toolkit for image manipulation within Drupal.

Plugin annotation


@ImageToolkit(
  id = "broken",
  title = @Translation("A dummy toolkit that is broken")
)

Hierarchy

Expanded class hierarchy of BrokenToolkit

File

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

Namespace

Drupal\image_test\Plugin\ImageToolkit
View source
class BrokenToolkit extends TestToolkit {
  
  /**
   * {@inheritdoc}
   */
  public static function isAvailable() {
    return FALSE;
  }

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.