diff --git a/core/modules/system/src/Plugin/ImageToolkit/Operation/gd/ScaleAndCrop.php b/core/modules/system/src/Plugin/ImageToolkit/Operation/gd/ScaleAndCrop.php index 2fcda58fad..ad53ec3fa1 100644 --- a/core/modules/system/src/Plugin/ImageToolkit/Operation/gd/ScaleAndCrop.php +++ b/core/modules/system/src/Plugin/ImageToolkit/Operation/gd/ScaleAndCrop.php @@ -20,6 +20,16 @@ class ScaleAndCrop extends GDImageToolkitOperationBase { */ protected function arguments() { return [ + 'x' => [ + 'description' => 'The horizontal offset for the start of the crop, in pixels', + 'required' => FALSE, + 'default' => NULL, + ], + 'y' => [ + 'description' => 'The vertical offset for the start the crop, in pixels', + 'required' => FALSE, + 'default' => NULL, + ], 'width' => [ 'description' => 'The target width, in pixels', ],