class BrokenToolkit

Defines a Test toolkit for image manipulation within Drupal.

Plugin annotation


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

Hierarchy

Expanded class hierarchy of BrokenToolkit

File

drupal/core/modules/system/tests/modules/image_test/lib/Drupal/image_test/Plugin/ImageToolkit/BrokenToolkit.php, line 21
Contains \Drupal\image_test\Plugin\ImageToolkit\BrokenToolkit.

Namespace

Drupal\image_test\Plugin\ImageToolkit
View source
class BrokenToolkit extends TestToolkit {

  /**
   * Implements \Drupal\system\Plugin\ImageToolkitInterface::isAvailable().
   */
  public static function isAvailable() {
    return FALSE;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
BrokenToolkit::isAvailable public static function Implements \Drupal\system\Plugin\ImageToolkitInterface::isAvailable(). Overrides TestToolkit::isAvailable
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition.
PluginBase::$pluginId protected property The plugin_id.
PluginBase::getPluginDefinition public function Returns the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition
PluginBase::getPluginId public function Returns the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::__construct public function Constructs a Drupal\Component\Plugin\PluginBase object. 17
TestToolkit::crop public function Implements \Drupal\system\Plugin\ImageToolkitInterface::crop(). Overrides ImageToolkitInterface::crop
TestToolkit::desaturate public function Implements \Drupal\system\Plugin\ImageToolkitInterface::desaturate(). Overrides ImageToolkitInterface::desaturate
TestToolkit::getInfo public function Implements \Drupal\system\Plugin\ImageToolkitInterface::getInfo(). Overrides ImageToolkitInterface::getInfo
TestToolkit::load public function Implements \Drupal\system\Plugin\ImageToolkitInterface::load(). Overrides ImageToolkitInterface::load
TestToolkit::logCall protected function Stores the values passed to a toolkit call.
TestToolkit::resize public function Implements \Drupal\system\Plugin\ImageToolkitInterface::resize(). Overrides ImageToolkitInterface::resize
TestToolkit::rotate public function Implements \Drupal\system\Plugin\ImageToolkitInterface::rotate(). Overrides ImageToolkitInterface::rotate
TestToolkit::save public function Implements \Drupal\system\Plugin\ImageToolkitInterface::save(). Overrides ImageToolkitInterface::save
TestToolkit::settingsForm public function Implements \Drupal\system\Plugin\ImageToolkitInterface::settingsForm(). Overrides ImageToolkitInterface::settingsForm
TestToolkit::settingsFormSubmit public function Implements \Drupal\system\Plugin\ImageToolkitInterface::settingsFormSubmit(). Overrides ImageToolkitInterface::settingsFormSubmit