function ImageToolkitOperationManager::getToolkitOperation
Same name in other branches
- 9 core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php \Drupal\Core\ImageToolkit\ImageToolkitOperationManager::getToolkitOperation()
- 10 core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php \Drupal\Core\ImageToolkit\ImageToolkitOperationManager::getToolkitOperation()
- 11.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php \Drupal\Core\ImageToolkit\ImageToolkitOperationManager::getToolkitOperation()
Overrides ImageToolkitOperationManagerInterface::getToolkitOperation
File
-
core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitOperationManager.php, line 118
Class
- ImageToolkitOperationManager
- Manages toolkit operation plugins.
Namespace
Drupal\Core\ImageToolkitCode
public function getToolkitOperation(ImageToolkitInterface $toolkit, $operation) {
$plugin_id = $this->getToolkitOperationPluginId($toolkit, $operation);
return $this->createInstance($plugin_id, [], $toolkit);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.