function ImageToolkitOperationInterface::setToolkit

Set the image toolkit instance for this operation.

Parameters

\Drupal\Core\ImageToolkit\ImageToolkitInterface $toolkit: The image toolkit in use.

1 method overrides ImageToolkitOperationInterface::setToolkit()
ImageToolkitOperationBase::setToolkit in core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php
Set the image toolkit instance for this operation.

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationInterface.php, line 27

Class

ImageToolkitOperationInterface
Defines an interface for image toolkit operations.

Namespace

Drupal\Core\ImageToolkit

Code

public function setToolkit(ImageToolkitInterface $toolkit) : void;

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