function ImageToolkitInterface::getSupportedExtensions

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::getSupportedExtensions()
  2. 10 core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::getSupportedExtensions()
  3. 11.x 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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.