You are here

protected function AdvanceResize::arguments in image effect 1.0.x

Same name in this branch
  1. 1.0.x src/Plugin/ImageToolkit/Operation/gd/AdvanceResize.php \Drupal\image_effect\Plugin\ImageToolkit\Operation\gd\AdvanceResize::arguments()
  2. 1.0.x src/Plugin/ImageToolkit/Operation/imagick/AdvanceResize.php \Drupal\image_effect\Plugin\ImageToolkit\Operation\imagick\AdvanceResize::arguments()
Same name and namespace in other branches
  1. 8 src/Plugin/ImageToolkit/Operation/imagick/AdvanceResize.php \Drupal\image_effect\Plugin\ImageToolkit\Operation\imagick\AdvanceResize::arguments()
  2. 2.0.x src/Plugin/ImageToolkit/Operation/imagick/AdvanceResize.php \Drupal\image_effect\Plugin\ImageToolkit\Operation\imagick\AdvanceResize::arguments()

File

src/Plugin/ImageToolkit/Operation/imagick/AdvanceResize.php, line 24

Class

AdvanceResize
Defines imagick advance resize operation.

Namespace

Drupal\image_effect\Plugin\ImageToolkit\Operation\imagick

Code

protected function arguments() {
  return [
    'width' => [
      'description' => 'The new width of the resized image, in pixels',
    ],
    'height' => [
      'description' => 'The new height of the resized image, in pixels',
    ],
  ];
}