You are here

public function ImagemagickFormatMapper::getEnabledExtensions in ImageMagick 8

Same name and namespace in other branches
  1. 8.3 src/ImagemagickFormatMapper.php \Drupal\imagemagick\ImagemagickFormatMapper::getEnabledExtensions()
  2. 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\imagemagick

Code

public function getEnabledExtensions() {
  return array_keys($this
    ->resolveEnabledExtensions());
}