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