You are here

protected function SetGifTransparentColorTrait::arguments in Image Effects 8.3

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

File

src/Plugin/ImageToolkit/Operation/SetGifTransparentColorTrait.php, line 15

Class

SetGifTransparentColorTrait
Base trait for set_gif_transparent_color image operations.

Namespace

Drupal\image_effects\Plugin\ImageToolkit\Operation

Code

protected function arguments() {
  return [
    'transparent_color' => [
      'description' => 'The RGB hex color for GIF transparency',
      'required' => FALSE,
      'default' => '#ffffff',
    ],
  ];
}