You are here

abstract protected function ImageToolkitOperationBase::execute in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php \Drupal\Core\ImageToolkit\ImageToolkitOperationBase::execute()

Performs the actual manipulation on the image.

Image toolkit operation implementers must implement this method. This method is responsible for actually performing the operation on the image. When this method gets called, the implementer may assume all arguments, also the optional ones, to be available, validated and corrected.

Parameters

array $arguments: An associative array of arguments to be used by the toolkit operation.

Return value

bool TRUE if the operation was performed successfully, FALSE otherwise.

1 call to ImageToolkitOperationBase::execute()
ImageToolkitOperationBase::apply in core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php
Applies a toolkit specific operation to an image.
7 methods override ImageToolkitOperationBase::execute()
Convert::execute in core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Convert.php
Performs the actual manipulation on the image.
CreateNew::execute in core/modules/system/src/Plugin/ImageToolkit/Operation/gd/CreateNew.php
Performs the actual manipulation on the image.
Crop::execute in core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Crop.php
Performs the actual manipulation on the image.
Desaturate::execute in core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Desaturate.php
Performs the actual manipulation on the image.
Resize::execute in core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php
Performs the actual manipulation on the image.

... See full list

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php, line 194
Contains \Drupal\Core\ImageToolkit\ImageToolkitOperationBase.

Class

ImageToolkitOperationBase
Provides a base class for image toolkit operation plugins.

Namespace

Drupal\Core\ImageToolkit

Code

protected abstract function execute(array $arguments);