W3cubDocs

/Drupal 8

abstract protected function ImageToolkitOperationBase::execute

abstract protected ImageToolkitOperationBase::execute(array $arguments)

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.

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php, line 189

Class

ImageToolkitOperationBase
Provides a base class for image toolkit operation plugins.

Namespace

Drupal\Core\ImageToolkit

Code

abstract protected function execute(array $arguments);

© 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!ImageToolkitOperationBase.php/function/ImageToolkitOperationBase::execute/8.1.x