acquia_contenthub_publisher.services.yml in Acquia Content Hub 8.2
modules/acquia_contenthub_publisher/acquia_contenthub_publisher.services.yml
File
modules/acquia_contenthub_publisher/acquia_contenthub_publisher.services.ymlView source
- services:
-
- acquia_contenthub_publisher.tracker:
- class: Drupal\acquia_contenthub_publisher\PublisherTracker
- arguments: ['@database']
-
- acquia_contenthub_publisher.actions:
- class: Drupal\acquia_contenthub_publisher\PublisherActions
- arguments: ['@acquia_contenthub_publisher.tracker', '@acquia_contenthub_common_actions', '@cache.depcalc']
-
- acquia_contenthub_publisher.entity_moderated_revision:
- class: Drupal\acquia_contenthub_publisher\EntityModeratedRevision
- arguments: ['@logger.factory']
-
- content_moderation_state.enqueue:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility\IsNotContentModerationState
- tags:
- - { name: event_subscriber }
-
- content_paragraph.enqueue:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility\IsNotParagraph
- tags:
- - { name: event_subscriber }
-
- pathalias_for_unpublished_content.enqueue:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility\IsPathAliasForUnpublishedContent
- arguments: ['@router.no_access_checks', '@acquia_contenthub_publisher.entity_moderated_revision', '@acquia_contenthub_publisher.logger_channel']
- tags:
- - { name: event_subscriber }
-
- file_is_temporary.enqueue:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility\FileIsTemporary
- tags:
- - { name: event_subscriber }
-
- file_scheme_is_supported.enqueue:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility\FileSchemeIsSupported
- arguments: ['@acquia_contenthub.file_scheme_handler.manager']
- tags:
- - { name: event_subscriber }
-
- imported_entity.enqueue:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility\ImportedEntity
- arguments: ['@module_handler']
- tags:
- - { name: event_subscriber }
-
- missing_uuid.enqueue:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility\MissingUuid
- tags:
- - { name: event_subscriber }
-
- missing_id.enqueue:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility\MissingId
- tags:
- - { name: event_subscriber }
-
- revision_is_current.enqueue:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility\RevisionIsCurrent
- arguments: ['@acquia_contenthub_publisher.entity_moderated_revision']
- tags:
- - { name: event_subscriber }
-
- entity_is_queued.enqueue:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility\IsAlreadyEnqueued
- arguments: ['@database', '@acquia_contenthub_publisher.tracker']
- tags:
- - { name: event_subscriber }
-
- entity_type_or_bundle_exclude.enqueue:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibility\EntityTypeOrBundleExclude
- arguments: ['@acquia_contenthub_publisher.exclude_settings.config']
- tags:
- - { name: event_subscriber }
-
- requeue_dependency_changes.cache_invalidation:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\InvalidateDependencies\RePublishDependencyChanges
- tags:
- - { name: event_subscriber }
-
- remove_unmodified_entities.publish:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\PublishEntities\RemoveUnmodifiedEntities
- arguments: ['@database']
- tags:
- - { name: event_subscriber }
-
- acquia_contenthub_publisher.handle_webhook.update_published:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\HandleWebhook\UpdatePublished
- arguments: ['@database']
- tags:
- - { name: event_subscriber }
-
- acquia_contenthub_publisher.handle_webhook.purge:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\HandleWebhook\Purge
- arguments: ['@queue', '@acquia_contenthub.logger_channel', '@database']
- tags:
- - { name: event_subscriber }
-
- acquia_contenthub_publisher.handle_webhook.get_file:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\HandleWebhook\GetFile
- arguments: ['@acquia_contenthub_common_actions', '@stream_wrapper_manager']
- tags:
- - { name: event_subscriber }
-
- acquia_contenthub_publisher.handle_webhook.re_export:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\HandleWebhook\ReExport
- arguments: ['@acquia_contenthub_publisher.actions', '@entity.repository', '@logger.factory']
- tags:
- - { name: event_subscriber }
-
- acquia_contenthub_publisher.not_confirmed_entities.log:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\NotConfirmedEntitiesFound\Log
- arguments: ['@acquia_contenthub.logger_channel']
- tags:
- - { name: event_subscriber }
-
- acquia_contenthub_publisher.acquia_contenthub_export_queue:
- class: Drupal\acquia_contenthub_publisher\ContentHubExportQueue
- arguments: ['@queue', '@plugin.manager.queue_worker', '@messenger']
-
- update_tracking.delete_remote_entity:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\DeleteRemoteEntity\UpdateTracking
- arguments: ['@acquia_contenthub_publisher.tracker', '@logger.factory']
- tags:
- - { name: event_subscriber }
-
- acquia_contenthub_publisher.language_override_config_subscriber:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\Config\ConfigSubscriber
- tags:
- - { name: event_subscriber }
-
- acquia_contenthub_publisher.promote_entity_status_tracking.tracking_totals:
- class: Drupal\acquia_contenthub_publisher\EventSubscriber\PromoteEntityStatusTrack\TrackTotals
- arguments: ['@acquia_contenthub_publisher.tracker']
- tags:
- - { name: event_subscriber }
-
- acquia_contenthub_publisher.exclude_settings.config:
- class: Drupal\Core\Config\Config
- factory: config.factory:get
- arguments: ['acquia_contenthub_publisher.exclude_settings']
-
- # @todo replace all the occurrences of direct access of acquia_contenthub_publisher channel from logger factory with this service by DI.
- acquia_contenthub_publisher.logger_channel:
- class: Drupal\Core\Logger\LoggerChannel
- factory: logger.factory:get
- arguments: [ 'acquia_contenthub_publisher' ]