public function ImagemagickFormatMapper::getEnabledExtensions in ImageMagick 8.3
Same name and namespace in other branches
- 8 src/ImagemagickFormatMapper.php \Drupal\imagemagick\ImagemagickFormatMapper::getEnabledExtensions()
- 8.2 src/ImagemagickFormatMapper.php \Drupal\imagemagick\ImagemagickFormatMapper::getEnabledExtensions()
Gets the list of currently enabled image file extensions.
Return value
array A simple array of image file extensions.
Overrides ImagemagickFormatMapperInterface::getEnabledExtensions
File
- src/
ImagemagickFormatMapper.php, line 160
Class
- ImagemagickFormatMapper
- Provides the ImageMagick format mapper.
Namespace
Drupal\imagemagickCode
public function getEnabledExtensions() : array {
return array_keys($this
->resolveEnabledExtensions());
}