public ImageToolkitOperationManagerInterface::getToolkitOperation(ImageToolkitInterface $toolkit, $operation)
Returns a toolkit operation plugin instance.
\Drupal\Core\ImageToolkit\ImageToolkitInterface $toolkit: The toolkit instance.
string $operation: The operation (e.g. "crop").
\Drupal\Core\ImageToolkit\ImageToolkitOperationInterface An instance of the requested toolkit operation plugin.
\Drupal\Component\Plugin\Exception\PluginNotFoundException When no plugin is available.
public function getToolkitOperation(ImageToolkitInterface $toolkit, $operation);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!ImageToolkit!ImageToolkitOperationManagerInterface.php/function/ImageToolkitOperationManagerInterface::getToolkitOperation/8.1.x