public static function FileSchemeIsSupported::getSubscribedEvents in Acquia Content Hub 8.2
File
- modules/
acquia_contenthub_publisher/ src/ EventSubscriber/ EnqueueEligibility/ FileSchemeIsSupported.php, line 36
Class
- FileSchemeIsSupported
- Prevents enqueueing files whose scheme is not supported.
Namespace
Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibilityCode
public static function getSubscribedEvents() {
$events[ContentHubPublisherEvents::ENQUEUE_CANDIDATE_ENTITY][] = [
'onEnqueueCandidateEntity',
60,
];
return $events;
}