protected function ImageToolkitOperationBase::getToolkit in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php \Drupal\Core\ImageToolkit\ImageToolkitOperationBase::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
1 call to ImageToolkitOperationBase::getToolkit()
- GDImageToolkitOperationBase::getToolkit in core/
modules/ system/ src/ Plugin/ ImageToolkit/ Operation/ gd/ GDImageToolkitOperationBase.php - The correctly typed image toolkit for GD operations.
1 method overrides ImageToolkitOperationBase::getToolkit()
- GDImageToolkitOperationBase::getToolkit in core/
modules/ system/ src/ Plugin/ ImageToolkit/ Operation/ gd/ GDImageToolkitOperationBase.php - The correctly typed image toolkit for GD operations.
File
- core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitOperationBase.php, line 68 - Contains \Drupal\Core\ImageToolkit\ImageToolkitOperationBase.
Class
- ImageToolkitOperationBase
- Provides a base class for image toolkit operation plugins.
Namespace
Drupal\Core\ImageToolkitCode
protected function getToolkit() {
return $this->toolkit;
}