You are here

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

File

modules/acquia_contenthub_publisher/src/EventSubscriber/EnqueueEligibility/ImportedEntity.php, line 39

Class

ImportedEntity
Any entity that has been previously imported shouldn't be enqueued.

Namespace

Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility

Code

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