You are here

public function ImageToolkitOperationInterface::apply in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationInterface.php \Drupal\Core\ImageToolkit\ImageToolkitOperationInterface::apply()
  2. 9 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.

File

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

Class

ImageToolkitOperationInterface
Defines an interface for image toolkit operations.

Namespace

Drupal\Core\ImageToolkit

Code

public function apply(array $arguments);