You are here

public static function ImagemagickEventSubscriber::getSubscribedEvents in ImageMagick 8.2

Same name and namespace in other branches
  1. 8.3 src/EventSubscriber/ImagemagickEventSubscriber.php \Drupal\imagemagick\EventSubscriber\ImagemagickEventSubscriber::getSubscribedEvents()

File

src/EventSubscriber/ImagemagickEventSubscriber.php, line 65

Class

ImagemagickEventSubscriber
Imagemagick's module Event Subscriber.

Namespace

Drupal\imagemagick\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    ImagemagickExecutionEvent::ENSURE_SOURCE_LOCAL_PATH => 'ensureSourceLocalPath',
    ImagemagickExecutionEvent::POST_SAVE => 'postSave',
    ImagemagickExecutionEvent::PRE_CONVERT_EXECUTE => 'preConvertExecute',
    ImagemagickExecutionEvent::PRE_IDENTIFY_EXECUTE => 'preIdentifyExecute',
  ];
}