public static function PublishOnlyRendered::getSubscribedEvents in Acquia Lift Connector 8.4
File
- modules/
acquia_lift_publisher/ src/ EventSubscriber/ Publish/ PublishOnlyRendered.php, line 49
Class
- PublishOnlyRendered
- Responsible for filtering contents based on publishing configurations.
Namespace
Drupal\acquia_lift_publisher\EventSubscriber\PublishCode
public static function getSubscribedEvents() {
return [
ContentHubPublisherEvents::ENQUEUE_CANDIDATE_ENTITY => [
'onEnqueueCandidateEntity',
99,
],
AcquiaContentHubEvents::PRUNE_PUBLISH_CDF_ENTITIES => [
'onPrunePublishCdfEntities',
1000,
],
];
}