public function NoiseImageEffect::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/ NoiseImageEffect.php, line 39
Class
- NoiseImageEffect
- Adds noise to an image resource.
Namespace
Drupal\imagick\Plugin\ImageEffectCode
public function defaultConfiguration() {
return [
'type' => imagick::NOISE_UNIFORM,
];
}