You are here

public static function ImageToolkitInterface::getSupportedExtensions in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::getSupportedExtensions()
  2. 9 core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::getSupportedExtensions()

Returns a list of image file extensions supported by the toolkit.

Return value

array An array of supported image file extensions (e.g. png/jpeg/gif).

1 method overrides ImageToolkitInterface::getSupportedExtensions()
TestToolkit::getSupportedExtensions in core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php
Returns a list of image file extensions supported by the toolkit.

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php, line 157

Class

ImageToolkitInterface
Defines an interface for image toolkits.

Namespace

Drupal\Core\ImageToolkit

Code

public static function getSupportedExtensions();