public function ImageEffectBase::getDerivativeExtension in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::getDerivativeExtension()
 - 9 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::getDerivativeExtension()
 
File
- core/
modules/ image/ src/ ImageEffectBase.php, line 77  
Class
- ImageEffectBase
 - Provides a base class for image effects.
 
Namespace
Drupal\imageCode
public function getDerivativeExtension($extension) {
  // Most image effects will not change the extension. This base
  // implementation represents this behavior. Override this method if your
  // image effect does change the extension.
  return $extension;
}