You are here

public function ImageToolkitOperationInterface::apply in Drupal 9

Same name and namespace in other branches
  1. 8 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 33

Class

ImageToolkitOperationInterface
Defines an interface for image toolkit operations.

Namespace

Drupal\Core\ImageToolkit

Code

public function apply(array $arguments);