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\ImageEffectCode
public function defaultConfiguration() {
return [
'path' => '',
'composite' => Imagick::COMPOSITE_DEFAULT,
'x' => '0',
'y' => '0',
'channel' => [
Imagick::CHANNEL_DEFAULT,
],
];
}