public function OpenlayersPluginBase::getDerivativeExtension in Openlayers 8.4
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.
Overrides OpenlayersPluginInterface::getDerivativeExtension
File
- src/
OpenlayersPluginBase.php, line 79
Class
- OpenlayersPluginBase
- Provides a base class for image effects.
Namespace
Drupal\openlayersCode
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;
}