You are here

public function ConvolutionSharpenImageEffect::defaultConfiguration in Image Effects 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/ImageEffect/ConvolutionSharpenImageEffect.php \Drupal\image_effects\Plugin\ImageEffect\ConvolutionSharpenImageEffect::defaultConfiguration()
  2. 8.2 src/Plugin/ImageEffect/ConvolutionSharpenImageEffect.php \Drupal\image_effects\Plugin\ImageEffect\ConvolutionSharpenImageEffect::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ImageEffectBase::defaultConfiguration

File

src/Plugin/ImageEffect/ConvolutionSharpenImageEffect.php, line 24

Class

ConvolutionSharpenImageEffect
Sharpen image using convolution.

Namespace

Drupal\image_effects\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'level' => 10,
  ] + parent::defaultConfiguration();
}