You are here

public function ColorshiftImageEffect::defaultConfiguration in Imagick 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ImageEffectBase::defaultConfiguration

File

src/Plugin/ImageEffect/ColorshiftImageEffect.php, line 38

Class

ColorshiftImageEffect
Applies a colorshift effect on an image resource.

Namespace

Drupal\imagick\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'HEX' => '#FF2E2E',
  ];
}