BrokenToolkit.php

Same filename in other branches
  1. 8.9.x core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/BrokenToolkit.php
  2. 10 core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/BrokenToolkit.php
  3. 11.x core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/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.