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