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