public function ImageEffectInterface::getDerivativeExtension in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/ImageEffectInterface.php \Drupal\image\ImageEffectInterface::getDerivativeExtension()
- 9 core/modules/image/src/ImageEffectInterface.php \Drupal\image\ImageEffectInterface::getDerivativeExtension()
Returns the extension of the derivative after applying this image effect.
Parameters
string $extension: The file extension the derivative has before applying.
Return value
string The file extension after applying.
File
- core/
modules/ image/ src/ ImageEffectInterface.php, line 62
Class
- ImageEffectInterface
- Defines the interface for image effects.
Namespace
Drupal\imageCode
public function getDerivativeExtension($extension);