You are here

public function OperationBase::execute in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/Operation/test/OperationBase.php \Drupal\image_test\Plugin\ImageToolkit\Operation\test\OperationBase::execute()

Performs the actual manipulation on the image.

Image toolkit operation implementers must implement this method. This method is responsible for actually performing the operation on the image. When this method gets called, the implementer may assume all arguments, also the optional ones, to be available, validated and corrected.

Parameters

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

Return value

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

Overrides ImageToolkitOperationBase::execute

File

core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/Operation/test/OperationBase.php, line 22

Class

OperationBase
Provides a base class for test operations.

Namespace

Drupal\image_test\Plugin\ImageToolkit\Operation\test

Code

public function execute(array $arguments) {

  // Nothing to do.
}