You are here

public static function ImageToolkitInterface::getSupportedExtensions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 162
Contains \Drupal\Core\ImageToolkit\ImageToolkitInterface.

Class

ImageToolkitInterface
Defines an interface for image toolkits.

Namespace

Drupal\Core\ImageToolkit

Code

public static function getSupportedExtensions();