function ImageToolkitInterface::getSupportedExtensions
Same name in other branches
- 9 core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::getSupportedExtensions()
- 8.9.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::getSupportedExtensions()
- 10 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\ImageToolkitCode
public static function getSupportedExtensions();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.