function ConvertImageEffect::getDerivativeExtension

Same name and namespace in other branches
  1. 9 core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php \Drupal\image\Plugin\ImageEffect\ConvertImageEffect::getDerivativeExtension()
  2. 8.9.x 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 35

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.