You are here

acquia_contenthub.services.yml in Acquia Content Hub 8

Same filename and directory in other branches
  1. 8.2 acquia_contenthub.services.yml

File

acquia_contenthub.services.yml
View source
  1. services:
  2. acquia_contenthub.entity_manager:
  3. class: Drupal\acquia_contenthub\EntityManager
  4. arguments: ['@logger.factory', '@config.factory', '@acquia_contenthub.client_manager', '@acquia_contenthub.acquia_contenthub_entities_tracking', '@entity_type.manager', '@entity_type.bundle.info']
  5. acquia_contenthub.import_entity_manager:
  6. class: Drupal\acquia_contenthub\ImportEntityManager
  7. arguments: ['@database', '@logger.factory', '@serializer', '@entity.repository', '@acquia_contenthub.client_manager', '@acquia_contenthub.acquia_contenthub_entities_tracking', '@diff.entity_comparison', '@acquia_contenthub.entity_manager', '@string_translation', '@queue', '@language_manager']
  8. acquia_contenthub.acquia_contenthub_cdf.import_entity:
  9. class: Drupal\acquia_contenthub\Controller\ContentHubEntityImportController
  10. arguments: ['@acquia_contenthub.import_entity_manager', '@config.factory']
  11. acquia_contenthub.acquia_contenthub_entities_tracking:
  12. class: Drupal\acquia_contenthub\ContentHubEntitiesTracking
  13. arguments: ['@database', '@config.factory']
  14. acquia_contenthub.acquia_contenthub_export_entities:
  15. class: Drupal\acquia_contenthub\Controller\ContentHubEntityExportController
  16. arguments: ['@acquia_contenthub.client_manager', '@acquia_contenthub.entity_manager', '@acquia_contenthub.acquia_contenthub_entities_tracking', '@acquia_contenthub.normalizer.entity.acquia_contenthub_cdf', '@acquia_contenthub.acquia_contenthub_export_queue', '@entity.repository', '@acquia_contenthub.internal_request', '@config.factory', '@logger.factory']
  17. acquia_contenthub.acquia_contenthub_export_queue:
  18. class: Drupal\acquia_contenthub\Controller\ContentHubExportQueueController
  19. arguments: ['@queue', '@plugin.manager.queue_worker', '@config.factory', '@logger.factory']
  20. acquia_contenthub.internal_request:
  21. class: Drupal\acquia_contenthub\ContentHubInternalRequest
  22. arguments: ['@http_kernel.basic', '@acquia_contenthub.acquia_contenthub_subscription', '@account_switcher', '@config.factory', '@logger.factory', '@request_stack']
  23. acquia_contenthub.acquia_contenthub_subscription:
  24. class: Drupal\acquia_contenthub\ContentHubSubscription
  25. arguments: ['@logger.factory', '@config.factory', '@acquia_contenthub.client_manager', '@state']
  26. acquia_contenthub.acquia_contenthub_search:
  27. class: Drupal\acquia_contenthub\ContentHubSearch
  28. arguments: ['@acquia_contenthub.client_manager', '@language_manager', '@entity_type.manager']
  29. acquia_contenthub.acquia_contenthub_reindex:
  30. class: Drupal\acquia_contenthub\Controller\ContentHubReindex
  31. arguments: ['@acquia_contenthub.acquia_contenthub_entities_tracking', '@acquia_contenthub.client_manager', '@state']
  32. acquia_contenthub.client_manager:
  33. class: Drupal\acquia_contenthub\Client\ClientManager
  34. arguments: ['@logger.factory', '@config.factory', '@language_manager', '@acquia_contenthub.middleware_collector', '@extension.list.module']
  35. acquia_contenthub.middleware_hmac:
  36. class: Drupal\acquia_contenthub\Middleware\HmacWrapper
  37. arguments: ['@config.factory']
  38. tags:
  39. - { name: contenthub_middleware }
  40. acquia_contenthub.middleware_collector:
  41. class: Drupal\acquia_contenthub\Middleware\MiddlewareCollector
  42. tags:
  43. - { name: service_collector, call: addMiddleware, tag: contenthub_middleware }
  44. # Normalizer Proxy to the Seralization Normalizer
  45. acquia_contenthub.normalizer.entity.acquia_contenthub_cdf:
  46. class: Drupal\acquia_contenthub\Normalizer\ContentEntityCdfNormalizer
  47. arguments: ['@config.factory', '@acquia_contenthub.normalizer.content_entity_view_modes_extractor', '@module_handler', '@entity.repository', '@http_kernel.basic', '@renderer', '@acquia_contenthub.entity_manager', '@entity_type.manager', '@logger.factory', '@language_manager']
  48. # Serialization Providers
  49. serializer.normalizer.acquia_contenthub_cdf.acquia_contenthub:
  50. class: Drupal\acquia_contenthub\Normalizer\NormalizerWrapper
  51. arguments: ['@acquia_contenthub.normalizer.entity.acquia_contenthub_cdf']
  52. tags:
  53. - { name: normalizer, priority: 10, format: acquia_contenthub_cdf }
  54. serializer.encoder.acquia_contenthub_cdf.acquia_contenthub:
  55. class: Drupal\acquia_contenthub\Encoder\ContentHubCdfEncoder
  56. tags:
  57. - { name: encoder, priority: 10, format: acquia_contenthub_cdf }
  58. acquia_contenthub.normalizer.content_entity_view_modes_extractor:
  59. class: Drupal\acquia_contenthub\Normalizer\ContentEntityViewModesExtractor
  60. arguments: ['@current_user', '@entity_display.repository', '@entity_type.manager', '@renderer', '@http_kernel.basic', '@account_switcher', '@acquia_contenthub.acquia_contenthub_subscription', '@config.factory', '@plugin.manager.block', '@request_stack']
  61. acquia_contenthub.export_queue_message:
  62. class: Drupal\acquia_contenthub\EventSubscriber\ContentHubExportQueueMessageSubscriber
  63. arguments: ['@acquia_contenthub.acquia_contenthub_export_queue', '@messenger', '@path.current']
  64. tags:
  65. - { name: event_subscriber }
  66. acquia_contenthub.exception.acquia_contenthub_cdf:
  67. class: Drupal\acquia_contenthub\EventSubscriber\ExceptionCdfJsonSubscriber
  68. tags:
  69. - { name: event_subscriber }
  70. acquia_contenthub.config_rebuild_routes:
  71. class: Drupal\acquia_contenthub\EventSubscriber\ConfigRebuildRoutes
  72. arguments: ['@router.builder']
  73. tags:
  74. - { name: event_subscriber }
  75. acquia_contenthub.content_hub_view_subscriber:
  76. class: Drupal\acquia_contenthub\EventSubscriber\ContentHubViewSubscriber
  77. arguments: ['@current_route_match', '@config.factory', '@account_switcher', '@logger.factory']
  78. tags:
  79. - { name: event_subscriber }
  80. acquia_contenthub.page_display_variant_subscriber:
  81. class: Drupal\acquia_contenthub\EventSubscriber\ContentHubPageDisplayVariantSubscriber
  82. arguments: ['@current_route_match']
  83. tags:
  84. - { name: event_subscriber }
  85. cache.acquia_contenthub:
  86. class: Drupal\Core\Cache\CacheBackendInterface
  87. tags:
  88. - { name: cache.bin }
  89. factory: cache_factory:get
  90. arguments: [acquia_contenthub]
  91. acquia_contenthub.resource_routes:
  92. class: Drupal\acquia_contenthub\Routing\ResourceRoutes
  93. arguments: ['@acquia_contenthub.entity_manager', '@entity_type.manager']
  94. access_check.acquia_contenthub.contenthub_access:
  95. class: Drupal\acquia_contenthub\Access\ContentHubAccess
  96. tags:
  97. - { name: access_check, applies_to: _contenthub_access }
  98. arguments: ['@logger.factory', '@acquia_contenthub.client_manager', '@acquia_contenthub.acquia_contenthub_subscription']
  99. acquia_contenthub.form.node_type_preview_image_form:
  100. class: Drupal\acquia_contenthub\Form\NodeTypePreviewImageForm
  101. arguments: ['@acquia_contenthub.entity_manager', '@entity_type.manager', '@entity_field.manager']
  102. acquia_contenthub.form.entity_form:
  103. class: Drupal\acquia_contenthub\Form\EntityForm
  104. arguments: ['@current_user', '@acquia_contenthub.acquia_contenthub_entities_tracking']
  105. acquia_contenthub.queue.database.memory_limit:
  106. class: Drupal\acquia_contenthub\Queue\MemoryLimitDatabaseQueueFactory
  107. arguments: ['@database']
  108. acquia_contenthub.account_switcher.decorator:
  109. class: Drupal\acquia_contenthub\AccountSwitcherDecorator
  110. decorates: account_switcher
  111. arguments: ['@current_user', '@session_handler.write_safe']

Services

Namesort descending Description
access_check.acquia_contenthub.contenthub_access Drupal\acquia_contenthub\Access\ContentHubAccess
acquia_contenthub.account_switcher.decorator Drupal\acquia_contenthub\AccountSwitcherDecorator
acquia_contenthub.acquia_contenthub_cdf.import_entity Drupal\acquia_contenthub\Controller\ContentHubEntityImportController
acquia_contenthub.acquia_contenthub_entities_tracking Drupal\acquia_contenthub\ContentHubEntitiesTracking
acquia_contenthub.acquia_contenthub_export_entities Drupal\acquia_contenthub\Controller\ContentHubEntityExportController
acquia_contenthub.acquia_contenthub_export_queue Drupal\acquia_contenthub\Controller\ContentHubExportQueueController
acquia_contenthub.acquia_contenthub_reindex Drupal\acquia_contenthub\Controller\ContentHubReindex
acquia_contenthub.acquia_contenthub_search Drupal\acquia_contenthub\ContentHubSearch
acquia_contenthub.acquia_contenthub_subscription Drupal\acquia_contenthub\ContentHubSubscription
acquia_contenthub.client_manager Drupal\acquia_contenthub\Client\ClientManager
acquia_contenthub.config_rebuild_routes Drupal\acquia_contenthub\EventSubscriber\ConfigRebuildRoutes
acquia_contenthub.content_hub_view_subscriber Drupal\acquia_contenthub\EventSubscriber\ContentHubViewSubscriber
acquia_contenthub.entity_manager Drupal\acquia_contenthub\EntityManager
acquia_contenthub.exception.acquia_contenthub_cdf Drupal\acquia_contenthub\EventSubscriber\ExceptionCdfJsonSubscriber
acquia_contenthub.export_queue_message Drupal\acquia_contenthub\EventSubscriber\ContentHubExportQueueMessageSubscriber
acquia_contenthub.form.entity_form Drupal\acquia_contenthub\Form\EntityForm
acquia_contenthub.form.node_type_preview_image_form Drupal\acquia_contenthub\Form\NodeTypePreviewImageForm
acquia_contenthub.import_entity_manager Drupal\acquia_contenthub\ImportEntityManager
acquia_contenthub.internal_request Drupal\acquia_contenthub\ContentHubInternalRequest
acquia_contenthub.middleware_collector Drupal\acquia_contenthub\Middleware\MiddlewareCollector
acquia_contenthub.middleware_hmac Drupal\acquia_contenthub\Middleware\HmacWrapper
acquia_contenthub.normalizer.content_entity_view_modes_extractor Drupal\acquia_contenthub\Normalizer\ContentEntityViewModesExtractor
acquia_contenthub.normalizer.entity.acquia_contenthub_cdf Drupal\acquia_contenthub\Normalizer\ContentEntityCdfNormalizer
acquia_contenthub.page_display_variant_subscriber Drupal\acquia_contenthub\EventSubscriber\ContentHubPageDisplayVariantSubscriber
acquia_contenthub.queue.database.memory_limit Drupal\acquia_contenthub\Queue\MemoryLimitDatabaseQueueFactory
acquia_contenthub.resource_routes Drupal\acquia_contenthub\Routing\ResourceRoutes
cache.acquia_contenthub Drupal\Core\Cache\CacheBackendInterface
serializer.encoder.acquia_contenthub_cdf.acquia_contenthub Drupal\acquia_contenthub\Encoder\ContentHubCdfEncoder
serializer.normalizer.acquia_contenthub_cdf.acquia_contenthub Drupal\acquia_contenthub\Normalizer\NormalizerWrapper