You are here

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\Publish

Code

public static function getSubscribedEvents() {
  return [
    ContentHubPublisherEvents::ENQUEUE_CANDIDATE_ENTITY => [
      'onEnqueueCandidateEntity',
      99,
    ],
    AcquiaContentHubEvents::PRUNE_PUBLISH_CDF_ENTITIES => [
      'onPrunePublishCdfEntities',
      1000,
    ],
  ];
}