public static function IsPathAliasForUnpublishedContent::getSubscribedEvents in Acquia Content Hub 8.2
File
- modules/
acquia_contenthub_publisher/ src/ EventSubscriber/ EnqueueEligibility/ IsPathAliasForUnpublishedContent.php, line 59
Class
- IsPathAliasForUnpublishedContent
- Subscribes to entity eligibility to prevent enqueueing path alias.
Namespace
Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibilityCode
public static function getSubscribedEvents() {
$events[ContentHubPublisherEvents::ENQUEUE_CANDIDATE_ENTITY][] = [
'onEnqueueCandidateEntity',
50,
];
return $events;
}