W3cubDocs

/Drupal 8

interface ImageToolkitOperationInterface

Defines an interface for image toolkit operations.

An image toolkit operation plugin provides a self-contained image manipulation routine, for a specific image toolkit. Examples of image toolkit operations are scaling, cropping, rotating, etc.

Hierarchy

See also

\Drupal\Core\ImageToolkit\Annotation\ImageToolkitOperation

\Drupal\Core\ImageToolkit\ImageToolkitOperationBase

\Drupal\Core\ImageToolkit\ImageToolkitOperationManager

Plugin API

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationInterface.php, line 19

Namespace

Drupal\Core\ImageToolkit

Members

Name Modifiers Type Description
ImageToolkitOperationInterface::apply public function Applies a toolkit specific operation to an image.
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation.
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance.

© 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!ImageToolkitOperationInterface.php/interface/ImageToolkitOperationInterface/8.1.x