You are here

protected function GaussianBlurTrait::arguments in Image Effects 8.3

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

File

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

Class

GaussianBlurTrait
Base trait for image_effects Blur operations.

Namespace

Drupal\image_effects\Plugin\ImageToolkit\Operation

Code

protected function arguments() {
  return [
    'radius' => [
      'description' => 'The blur radius, in pixels.',
    ],
    'sigma' => [
      'description' => 'The blur sigma value.',
      'required' => FALSE,
      'default' => NULL,
    ],
  ];
}