You are here

protected function OpacityTrait::arguments in Image Effects 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/ImageToolkit/Operation/OpacityTrait.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\OpacityTrait::arguments()
  2. 8.2 src/Plugin/ImageToolkit/Operation/OpacityTrait.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\OpacityTrait::arguments()

File

src/Plugin/ImageToolkit/Operation/OpacityTrait.php, line 13

Class

OpacityTrait
Base trait for image_effects Opacity operations.

Namespace

Drupal\image_effects\Plugin\ImageToolkit\Operation

Code

protected function arguments() {
  return [
    'opacity' => [
      'description' => 'Opacity.',
      'required' => FALSE,
      'default' => 100,
    ],
  ];
}