public function SwirlImageEffect::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/ SwirlImageEffect.php, line 38
Class
- SwirlImageEffect
- Adds a swirl effect to an image.
Namespace
Drupal\imagick\Plugin\ImageEffectCode
public function defaultConfiguration() {
return [
'degrees' => '90',
];
}