protected function BackgroundTrait::arguments in Image Effects 8.3
Same name and namespace in other branches
- 8 src/Plugin/ImageToolkit/Operation/BackgroundTrait.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\BackgroundTrait::arguments()
- 8.2 src/Plugin/ImageToolkit/Operation/BackgroundTrait.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\BackgroundTrait::arguments()
File
- src/
Plugin/ ImageToolkit/ Operation/ BackgroundTrait.php, line 15
Class
- BackgroundTrait
- Base trait for image_effects Background operations.
Namespace
Drupal\image_effects\Plugin\ImageToolkit\OperationCode
protected function arguments() {
return [
'x_offset' => [
'description' => 'X offset for source image.',
],
'y_offset' => [
'description' => 'Y offset for source image.',
],
'opacity' => [
'description' => 'Opacity for source image.',
'required' => FALSE,
'default' => 100,
],
'background_image' => [
'description' => 'Image to use for background.',
],
];
}