function ImageToolkitManager::getAllValidExtensions
Returns all valid extensions.
@internal @todo Revisit in https://www.drupal.org/node/3446364
Return value
string[] All possible valid extensions.
See also
\Drupal\image\Plugin\ImageEffect\ConvertImageEffect::buildConfigurationForm()
1 string reference to 'ImageToolkitManager::getAllValidExtensions'
- image.schema.yml in core/
modules/ image/ config/ schema/ image.schema.yml - core/modules/image/config/schema/image.schema.yml
File
-
core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitManager.php, line 119
Class
- ImageToolkitManager
- Manages image toolkit plugins.
Namespace
Drupal\Core\ImageToolkitCode
public static function getAllValidExtensions() : array {
return \Drupal::service('image.toolkit.manager')->getDefaultToolkit()
->getSupportedExtensions();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.