public static function MissingUuid::getSubscribedEvents in Acquia Content Hub 8.2
File
- modules/
acquia_contenthub_publisher/ src/ EventSubscriber/ EnqueueEligibility/ MissingUuid.php, line 20
Class
- MissingUuid
- Any entity that is missing its UUID shouldn't be enqueued.
Namespace
Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibilityCode
public static function getSubscribedEvents() {
$events[ContentHubPublisherEvents::ENQUEUE_CANDIDATE_ENTITY][] = [
'onEnqueueCandidateEntity',
1000,
];
return $events;
}