You are here

public function CompositeImageEffect::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/CompositeImageEffect.php, line 58

Class

CompositeImageEffect
Composite one image onto another.

Namespace

Drupal\imagick\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'path' => '',
    'composite' => Imagick::COMPOSITE_DEFAULT,
    'x' => '0',
    'y' => '0',
    'channel' => [
      Imagick::CHANNEL_DEFAULT,
    ],
  ];
}