function imagemagick_test_imagemagick_pre_parse_file_alter in ImageMagick 8.2
Implements hook_imagemagick_pre_parse_file_alter().
Deprecated
Kept only for BC test coverage, will be removed in 8.x-3.0.
See also
https://www.drupal.org/project/imagemagick/issues/3043136
File
- tests/
modules/ imagemagick_test/ imagemagick_test.module, line 16 - Test module for Imagemagick.
Code
function imagemagick_test_imagemagick_pre_parse_file_alter(ImagemagickExecArguments $arguments) {
\Drupal::service('logger.channel.image')
->info('Deprecated');
}