protected function MirrorTrait::arguments in Image Effects 8.3
Same name and namespace in other branches
- 8 src/Plugin/ImageToolkit/Operation/MirrorTrait.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\MirrorTrait::arguments()
- 8.2 src/Plugin/ImageToolkit/Operation/MirrorTrait.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\MirrorTrait::arguments()
File
- src/
Plugin/ ImageToolkit/ Operation/ MirrorTrait.php, line 13
Class
- MirrorTrait
- Base trait for image_effects Mirror operations.
Namespace
Drupal\image_effects\Plugin\ImageToolkit\OperationCode
protected function arguments() {
return [
'x_axis' => [
'description' => 'Flop the source image horizontally.',
'required' => FALSE,
'default' => FALSE,
],
'y_axis' => [
'description' => 'Flip the source image vertically.',
'required' => FALSE,
'default' => FALSE,
],
];
}