You are here

public function ImageToolkitOperationInterface::apply in Zircon Profile 8

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

Applies a toolkit specific operation to an image.

Parameters

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

Return value

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

Throws

\InvalidArgumentException If one or more of the arguments are not valid.

1 method overrides ImageToolkitOperationInterface::apply()
ImageToolkitOperationBase::apply in core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php
Applies a toolkit specific operation to an image.

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationInterface.php, line 38
Contains \Drupal\Core\ImageToolkit\ImageToolkitOperationInterface.

Class

ImageToolkitOperationInterface
Defines an interface for image toolkit operations.

Namespace

Drupal\Core\ImageToolkit

Code

public function apply(array $arguments);