function ConvertImageEffect::defaultConfiguration

Same name in other branches
  1. 9 core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php \Drupal\image\Plugin\ImageEffect\ConvertImageEffect::defaultConfiguration()
  2. 8.9.x core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php \Drupal\image\Plugin\ImageEffect\ConvertImageEffect::defaultConfiguration()
  3. 11.x core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php \Drupal\image\Plugin\ImageEffect\ConvertImageEffect::defaultConfiguration()

Overrides ImageEffectBase::defaultConfiguration

File

core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php, line 54

Class

ConvertImageEffect
Converts an image resource.

Namespace

Drupal\image\Plugin\ImageEffect

Code

public function defaultConfiguration() {
    return [
        'extension' => NULL,
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.