public function TestToolkit::desaturate

Implements \Drupal\system\Plugin\ImageToolkitInterface::desaturate().

Overrides ImageToolkitInterface::desaturate

File

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

Class

TestToolkit
Defines a Test toolkit for image manipulation within Drupal.

Namespace

Drupal\image_test\Plugin\ImageToolkit

Code

public function desaturate($image) {
  $this
    ->logCall('desaturate', array(
    $image,
  ));
  return TRUE;
}