function ImageToolkitOperationBase::setToolkit
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php \Drupal\Core\ImageToolkit\ImageToolkitOperationBase::setToolkit()
Set the image toolkit instance for this operation.
Parameters
\Drupal\Core\ImageToolkit\ImageToolkitInterface $toolkit: The image toolkit in use.
Overrides ImageToolkitOperationInterface::setToolkit
File
-
core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitOperationBase.php, line 68
Class
- ImageToolkitOperationBase
- Provides a base class for image toolkit operation plugins.
Namespace
Drupal\Core\ImageToolkitCode
public function setToolkit(ImageToolkitInterface $toolkit) : void {
$this->toolkit = $toolkit;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.