function ImageToolkitBase::getToolkitOperation
Same name in other branches
- 8.9.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php \Drupal\Core\ImageToolkit\ImageToolkitBase::getToolkitOperation()
- 10 core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php \Drupal\Core\ImageToolkit\ImageToolkitBase::getToolkitOperation()
- 11.x 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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.