You are here

public static function ImageToolkitInterface::getSupportedExtensions in Drupal 8

Same name and namespace in other branches
  1. 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).

2 methods override ImageToolkitInterface::getSupportedExtensions()
GDToolkit::getSupportedExtensions in core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
Returns a list of image file extensions supported by the toolkit.
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();