BrokenToolkit.php

Namespace

Drupal\image_test\Plugin\ImageToolkit

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

Title Deprecated Summary
BrokenToolkit Defines a Test toolkit for image manipulation within Drupal.

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