interface ImageToolkitOperationManagerInterface in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManagerInterface.php \Drupal\Core\ImageToolkit\ImageToolkitOperationManagerInterface
- 10 core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManagerInterface.php \Drupal\Core\ImageToolkit\ImageToolkitOperationManagerInterface
Defines an interface for image toolkit operation managers.
Hierarchy
- interface \Drupal\Core\ImageToolkit\ImageToolkitOperationManagerInterface
Expanded class hierarchy of ImageToolkitOperationManagerInterface
All classes that implement ImageToolkitOperationManagerInterface
2 files declare their use of ImageToolkitOperationManagerInterface
- GDToolkit.php in core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php - TestToolkit.php in core/
modules/ system/ tests/ modules/ image_test/ src/ Plugin/ ImageToolkit/ TestToolkit.php
File
- core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitOperationManagerInterface.php, line 8
Namespace
Drupal\Core\ImageToolkitView source
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);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ImageToolkitOperationManagerInterface:: |
public | function | Returns a toolkit operation plugin instance. | 1 |