public function ImagemagickFormatMapper::getEnabledFormats in ImageMagick 8
Same name and namespace in other branches
- 8.3 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 150
Class
- ImagemagickFormatMapper
- Provides the ImageMagick format mapper.
Namespace
Drupal\imagemagickCode
public function getEnabledFormats() {
return array_keys($this
->resolveEnabledFormats());
}