You are here

public function ImageStyleQualityImageEffect::defaultConfiguration in Image Style Quality 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ImageEffectBase::defaultConfiguration

File

src/Plugin/ImageEffect/ImageStyleQualityImageEffect.php, line 81

Class

ImageStyleQualityImageEffect
Allows you to change the quality of an image, per image style.

Namespace

Drupal\image_style_quality\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'quality' => 75,
  ];
}