function ImageEffectInterface::getDerivativeExtension

Same name in other branches
  1. 8.9.x core/modules/image/src/ImageEffectInterface.php \Drupal\image\ImageEffectInterface::getDerivativeExtension()
  2. 10 core/modules/image/src/ImageEffectInterface.php \Drupal\image\ImageEffectInterface::getDerivativeExtension()
  3. 11.x 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.

1 method overrides ImageEffectInterface::getDerivativeExtension()
ImageEffectBase::getDerivativeExtension in core/modules/image/src/ImageEffectBase.php
Returns the extension of the derivative after applying this image effect.

File

core/modules/image/src/ImageEffectInterface.php, line 62

Class

ImageEffectInterface
Defines the interface for image effects.

Namespace

Drupal\image

Code

public function getDerivativeExtension($extension);

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