You are here

public static function EntitySubqueuePreSave::getSubscribedEvents in Acquia Content Hub 8.2

File

modules/acquia_contenthub_subscriber/src/EventSubscriber/PreEntitySave/EntitySubqueuePreSave.php, line 54

Class

EntitySubqueuePreSave
Handles entity subqueue import failure.

Namespace

Drupal\acquia_contenthub_subscriber\EventSubscriber\PreEntitySave

Code

public static function getSubscribedEvents() {
  $events[AcquiaContentHubEvents::PRE_ENTITY_SAVE] = [
    'onPreEntitySave',
    80,
  ];
  return $events;
}