W3cubDocs

/Drupal 8

public function ImageToolkitOperationInterface::apply

public ImageToolkitOperationInterface::apply(array $arguments)

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);

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