public function ImageEffectInterface::getDerivativeExtension in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/image/src/ImageEffectInterface.php \Drupal\image\ImageEffectInterface::getDerivativeExtension()
Returns the extension the derivative would have have after applying this image effect.
Parameters
string $extension: The file extension the derivative has before applying.
Return value
string The file extension after applying.
1 method overrides ImageEffectInterface::getDerivativeExtension()
- ImageEffectBase::getDerivativeExtension in core/
modules/ image/ src/ ImageEffectBase.php - Returns the extension the derivative would have have after applying this image effect.
File
- core/
modules/ image/ src/ ImageEffectInterface.php, line 67 - Contains \Drupal\image\ImageEffectInterface.
Class
- ImageEffectInterface
- Defines the interface for image effects.
Namespace
Drupal\imageCode
public function getDerivativeExtension($extension);