function Resize::arguments
Same name in other branches
- 9 core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php \Drupal\system\Plugin\ImageToolkit\Operation\gd\Resize::arguments()
- 8.9.x core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php \Drupal\system\Plugin\ImageToolkit\Operation\gd\Resize::arguments()
- 10 core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php \Drupal\system\Plugin\ImageToolkit\Operation\gd\Resize::arguments()
Overrides ImageToolkitOperationBase::arguments
1 method overrides Resize::arguments()
- Scale::arguments in core/
modules/ system/ src/ Plugin/ ImageToolkit/ Operation/ gd/ Scale.php - Returns the definition of the operation arguments.
File
-
core/
modules/ system/ src/ Plugin/ ImageToolkit/ Operation/ gd/ Resize.php, line 23
Class
- Resize
- Defines GD2 resize operation.
Namespace
Drupal\system\Plugin\ImageToolkit\Operation\gdCode
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.