Implements \Drupal\system\Plugin\ImageToolkitInterface::rotate().
Overrides ImageToolkitInterface::rotate
File
- drupal/core/modules/system/tests/modules/image_test/lib/Drupal/image_test/Plugin/ImageToolkit/TestToolkit.php, line 83
- 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 rotate($image, $degrees, $background = NULL) {
$this
->logCall('rotate', array(
$image,
$degrees,
$background,
));
return TRUE;
}