Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ImageEffectInterface.php

function 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);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal