protected function ImagemagickImageToolkitOperationBase::getToolkit in ImageMagick 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/ImageToolkit/Operation/imagemagick/ImagemagickImageToolkitOperationBase.php \Drupal\imagemagick\Plugin\ImageToolkit\Operation\imagemagick\ImagemagickImageToolkitOperationBase::getToolkit()
- 8 src/Plugin/ImageToolkit/Operation/imagemagick/ImagemagickImageToolkitOperationBase.php \Drupal\imagemagick\Plugin\ImageToolkit\Operation\imagemagick\ImagemagickImageToolkitOperationBase::getToolkit()
Returns the image toolkit instance for this operation.
Image toolkit implementers should provide a toolkit operation base class that overrides this method to correctly document the return type of this getter. This provides better DX (code checking and code completion) for image toolkit operation developers.
Return value
\Drupal\Core\ImageToolkit\ImageToolkitInterface
Overrides ImageToolkitOperationBase::getToolkit
File
- src/
Plugin/ ImageToolkit/ Operation/ imagemagick/ ImagemagickImageToolkitOperationBase.php, line 20
Class
- ImagemagickImageToolkitOperationBase
- Base image toolkit operation class for Imagemagick.
Namespace
Drupal\imagemagick\Plugin\ImageToolkit\Operation\imagemagickCode
protected function getToolkit() {
return parent::getToolkit();
}