function ConvertImageEffect::getDerivativeExtension

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

Overrides ImageEffectBase::getDerivativeExtension

File

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

Class

ConvertImageEffect
Converts an image resource.

Namespace

Drupal\image\Plugin\ImageEffect

Code

public function getDerivativeExtension($extension) {
    return $this->configuration['extension'];
}

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