function ImageToolkitOperationInterface::apply

Same name in other branches
  1. 9 core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationInterface.php \Drupal\Core\ImageToolkit\ImageToolkitOperationInterface::apply()
  2. 8.9.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationInterface.php \Drupal\Core\ImageToolkit\ImageToolkitOperationInterface::apply()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.