function Resize::arguments

Same name and namespace in other branches
  1. 11.x core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php \Drupal\system\Plugin\ImageToolkit\Operation\gd\Resize::arguments()
  2. 10 core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php \Drupal\system\Plugin\ImageToolkit\Operation\gd\Resize::arguments()
  3. 8.9.x core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php \Drupal\system\Plugin\ImageToolkit\Operation\gd\Resize::arguments()

File

core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php, line 21

Class

Resize
Defines GD2 resize operation.

Namespace

Drupal\system\Plugin\ImageToolkit\Operation\gd

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',
    ],
  ];
}

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