You are here

protected function MirrorTrait::arguments in Image Effects 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/ImageToolkit/Operation/MirrorTrait.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\MirrorTrait::arguments()
  2. 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\Operation

Code

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