Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0 / 0 |
|
100.00% |
0 / 0 |
CRAP | |
100.00% |
0 / 0 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\Core\ImageToolkit\ImageToolkitOperationManagerInterface. | |
*/ | |
namespace Drupal\Core\ImageToolkit; | |
/** | |
* Defines an interface for image toolkit operation managers. | |
*/ | |
interface ImageToolkitOperationManagerInterface { | |
/** | |
* Returns a toolkit operation plugin instance. | |
* | |
* @param \Drupal\Core\ImageToolkit\ImageToolkitInterface $toolkit | |
* The toolkit instance. | |
* @param string $operation | |
* The operation (e.g. "crop"). | |
* | |
* @return \Drupal\Core\ImageToolkit\ImageToolkitOperationInterface | |
* An instance of the requested toolkit operation plugin. | |
* | |
* @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException | |
* When no plugin is available. | |
*/ | |
public function getToolkitOperation(ImageToolkitInterface $toolkit, $operation); | |
} |