You are here

BrokenToolkit.php in Drupal 10

File

core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/BrokenToolkit.php
View 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

Namesort descending Description
BrokenToolkit Defines a Test toolkit for image manipulation within Drupal.