You are here

service imagemagick.mime_type_mapper in ImageMagick 8.2

Class

Drupal\imagemagick\ImagemagickMimeTypeMapper
1 string reference to imagemagick.mime_type_mapper
ToolkitImagemagickTest::testImagemagickMimeTypeMapperDeprecation in tests/src/Functional/ToolkitImagemagickTest.php
Test deprecation of ImagemagickMimeTypeMapper.

File

./imagemagick.services.yml
imagemagick.services.yml

View source
  1. class: Drupal\imagemagick\ImagemagickMimeTypeMapper
  2. arguments:
  3. - '@file.mime_type.guesser.extension'
  4. deprecated: 'The "%service_id%" service is deprecated in ImageMagick 8.x-2.4, will be removed in 8.x-3.0. You should use the FileEye\MimeMap\Type and FileEye\MimeMap\Extension API instead. See https://www.drupal.org/project/imagemagick/issues/3026733.'