You are here

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

File

modules/acquia_contenthub_publisher/src/EventSubscriber/EnqueueEligibility/IsAlreadyEnqueued.php, line 49

Class

IsAlreadyEnqueued
Any entity that is already in the export queue shouldn't be enqueued.

Namespace

Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility

Code

public static function getSubscribedEvents() {
  $events[ContentHubPublisherEvents::ENQUEUE_CANDIDATE_ENTITY][] = [
    'onEnqueueCandidateEntity',
    50,
  ];
  return $events;
}