public function ConvertImageEffect::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/ ConvertImageEffect.php, line 41
Class
- ConvertImageEffect
- Blurs an image resource.
Namespace
Drupal\imagick\Plugin\ImageEffectCode
public function defaultConfiguration() {
return [
'format' => 'JPG',
'quality' => \Drupal::config(ImagickToolkit::CONFIG)
->get(ImagickToolkit::CONFIG_JPEG_QUALITY),
];
}