protected function ImageToolkitBase::getToolkitOperation in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php \Drupal\Core\ImageToolkit\ImageToolkitBase::getToolkitOperation()
Gets a toolkit operation plugin instance.
Parameters
string $operation: The toolkit operation requested.
Return value
\Drupal\Core\ImageToolkit\ImageToolkitOperationInterface An instance of the requested toolkit operation plugin.
File
- core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitBase.php, line 114
Class
- ImageToolkitBase
- Provides a base class for image toolkit plugins.
Namespace
Drupal\Core\ImageToolkitCode
protected function getToolkitOperation($operation) {
return $this->operationManager
->getToolkitOperation($this, $operation);
}