You are here

replication.services.yml in Replication 8.2

Same filename and directory in other branches
  1. 8 replication.services.yml

File

replication.services.yml
View source
  1. services:
  2. replication.process_file_attachment:
  3. class: Drupal\replication\ProcessFileAttachment
  4. arguments: ['@current_user', '@entity_type.manager', '@multiversion.entity_index.factory']
  5. replication.users_mapping:
  6. class: Drupal\replication\UsersMapping
  7. arguments: ['@config.factory', '@entity_type.manager']
  8. #Managers
  9. plugin.manager.replication_filter:
  10. class: Drupal\replication\Plugin\ReplicationFilterManager
  11. parent: default_plugin_manager
  12. #Factories
  13. replication.changes_factory:
  14. class: Drupal\replication\ChangesFactory
  15. arguments: ['@multiversion.entity_index.sequence', '@entity.manager', '@replication.serializer', '@plugin.manager.replication_filter']
  16. replication.revisiondiff_factory:
  17. class: Drupal\replication\RevisionDiffFactory
  18. arguments: ['@multiversion.entity_index.rev']
  19. replication.bulkdocs_factory:
  20. class: Drupal\replication\BulkDocsFactory
  21. arguments: ['@workspace.manager', '@multiversion.entity_index.uuid', '@multiversion.entity_index.rev', '@entity_type.manager', '@lock', '@logger.factory', '@state']
  22. replication.alldocs_factory:
  23. class: Drupal\replication\AllDocsFactory
  24. arguments: ['@entity_type.manager', '@multiversion.manager', '@multiversion.entity_index.id', '@replication.serializer']
  25. #Serializers
  26. replication.serializer:
  27. class: Symfony\Component\Serializer\Serializer
  28. arguments: [{ }, { }]
  29. #Encoders
  30. replication.encoder.json:
  31. class: Drupal\serialization\Encoder\JsonEncoder
  32. tags:
  33. - { name: replication_encoder, format: json }
  34. replication.encoder.stream:
  35. class: Drupal\replication\Encoder\StreamEncoder
  36. tags:
  37. - { name: replication_encoder, format: stream }
  38. replication.encoder.base64_stream:
  39. class: Drupal\replication\Encoder\StreamEncoder
  40. tags:
  41. - { name: replication_encoder, format: base64_stream }
  42. #Normalizers
  43. replication.normalizer.file_entity:
  44. class: Drupal\replication\Normalizer\FileEntityNormalizer
  45. arguments: ['@entity.manager', '@multiversion.entity_index.factory', '@language_manager', '@replication.users_mapping', '@module_handler', '@plugin.manager.entity_reference_selection', '@event_dispatcher', '@replication.process_file_attachment']
  46. tags:
  47. - { name: replication_normalizer, priority: 70 }
  48. replication.normalizer.attachment:
  49. class: Drupal\replication\Normalizer\AttachmentNormalizer
  50. arguments: ['@entity.manager', '@multiversion.entity_index.factory', '@language_manager', '@replication.users_mapping', '@module_handler', '@plugin.manager.entity_reference_selection', '@event_dispatcher']
  51. tags:
  52. - { name: replication_normalizer, priority: 60 }
  53. replication.normalizer.workspace:
  54. class: Drupal\replication\Normalizer\WorkspaceNormalizer
  55. arguments: ['@entity_type.manager']
  56. tags:
  57. - { name: replication_normalizer, priority: 60 }
  58. replication.normalizer.taxonomy_term:
  59. class: Drupal\replication\Normalizer\TaxonomyTermNormalizer
  60. arguments: ['@entity.manager', '@multiversion.entity_index.factory', '@language_manager', '@replication.users_mapping', '@module_handler', '@plugin.manager.entity_reference_selection', '@event_dispatcher']
  61. tags:
  62. - { name: replication_normalizer, priority: 60 }
  63. replication.normalizer.replication_log:
  64. class: Drupal\replication\Normalizer\ReplicationLogNormalizer
  65. arguments: ['@entity_type.manager', '@multiversion.entity_index.uuid']
  66. tags:
  67. - { name: replication_normalizer, priority: 60 }
  68. replication.normalizer.content_entity:
  69. class: Drupal\replication\Normalizer\ContentEntityNormalizer
  70. arguments: ['@entity.manager', '@multiversion.entity_index.factory', '@language_manager', '@replication.users_mapping', '@module_handler', '@plugin.manager.entity_reference_selection', '@event_dispatcher']
  71. tags:
  72. - { name: replication_normalizer, priority: 50 }
  73. replication.normalizer.bulk_docs:
  74. class: Drupal\replication\Normalizer\BulkDocsNormalizer
  75. tags:
  76. - { name: replication_normalizer, priority: 50 }
  77. replication.normalizer.all_docs:
  78. class: Drupal\replication\Normalizer\AllDocsNormalizer
  79. arguments: ['@entity.manager', '@multiversion.entity_index.uuid']
  80. tags:
  81. - { name: replication_normalizer, priority: 50 }
  82. replication.normalizer.changes:
  83. class: Drupal\replication\Normalizer\ChangesNormalizer
  84. tags:
  85. - { name: replication_normalizer }
  86. arguments: ['@entity.manager']
  87. replication.normalizer.revs_diff:
  88. class: Drupal\replication\Normalizer\RevsDiffNormalizer
  89. arguments: ['@replication.revisiondiff_factory']
  90. tags:
  91. - { name: replication_normalizer, priority: 50 }
  92. replication.normalizer.link_item:
  93. class: Drupal\replication\Normalizer\LinkItemNormalizer
  94. arguments: ['@entity_type.manager', '@plugin.manager.entity_reference_selection']
  95. tags:
  96. - { name: replication_normalizer, priority: 40 }
  97. replication.normalizer.text_item:
  98. class: Drupal\replication\Normalizer\TextItemNormalizer
  99. tags:
  100. - { name: replication_normalizer, priority: 30 }
  101. replication.normalizer.deleted_flag_item_list:
  102. class: Drupal\replication\Normalizer\DeletedFlagItemListNormalizer
  103. tags:
  104. - { name: replication_normalizer, priority: 30 }
  105. replication.normalizer.revision_info_item_list:
  106. class: Drupal\replication\Normalizer\RevisionInfoItemListNormalizer
  107. tags:
  108. - { name: replication_normalizer, priority: 30 }
  109. replication.normalizer.entity_reference_item:
  110. class: Drupal\replication\Normalizer\EntityReferenceItemNormalizer
  111. tags:
  112. - { name: replication_normalizer, priority: 30 }
  113. replication.normalizer.comment_item:
  114. class: Drupal\replication\Normalizer\CommentItemNormalizer
  115. tags:
  116. - { name: replication_normalizer, priority: 30 }
  117. #Core Normalizers
  118. replication.normalizer.timestamp_item:
  119. class: Drupal\serialization\Normalizer\TimestampItemNormalizer
  120. tags:
  121. - { name: replication_normalizer, priority: 20 }
  122. replication.normalizer.complex_data:
  123. class: Drupal\serialization\Normalizer\ComplexDataNormalizer
  124. tags:
  125. - { name: replication_normalizer }
  126. replication.normalizer.field_item:
  127. class: Drupal\serialization\Normalizer\FieldItemNormalizer
  128. tags:
  129. - { name: replication_normalizer, priority: 10 }
  130. replication.normalizer.field:
  131. class: Drupal\serialization\Normalizer\FieldNormalizer
  132. tags:
  133. - { name: replication_normalizer, priority: 10 }
  134. replication.normalizer.list:
  135. class: Drupal\serialization\Normalizer\ListNormalizer
  136. tags:
  137. - { name: replication_normalizer, priority: 20 }
  138. replication.normalizer.password_field_item:
  139. class: Drupal\serialization\Normalizer\NullNormalizer
  140. arguments: ['Drupal\Core\Field\Plugin\Field\FieldType\PasswordItem']
  141. tags:
  142. - { name: replication_normalizer, priority: 100 }
  143. replication.normalizer.safe_string:
  144. class: Drupal\serialization\Normalizer\MarkupNormalizer
  145. tags:
  146. - { name: replication_normalizer }
  147. replication.normalizer.primitive_data:
  148. class: Drupal\serialization\Normalizer\PrimitiveDataNormalizer
  149. tags:
  150. - { name: replication_normalizer, priority: 10 }
  151. replication.normalizer.typed_data:
  152. class: Drupal\serialization\Normalizer\TypedDataNormalizer
  153. tags:
  154. - { name: replication_normalizer }

Services

Namesort descending Description
plugin.manager.replication_filter Drupal\replication\Plugin\ReplicationFilterManager
replication.alldocs_factory Drupal\replication\AllDocsFactory
replication.bulkdocs_factory Drupal\replication\BulkDocsFactory
replication.changes_factory Drupal\replication\ChangesFactory
replication.encoder.base64_stream Drupal\replication\Encoder\StreamEncoder
replication.encoder.json Drupal\serialization\Encoder\JsonEncoder
replication.encoder.stream Drupal\replication\Encoder\StreamEncoder
replication.normalizer.all_docs Drupal\replication\Normalizer\AllDocsNormalizer
replication.normalizer.attachment Drupal\replication\Normalizer\AttachmentNormalizer
replication.normalizer.bulk_docs Drupal\replication\Normalizer\BulkDocsNormalizer
replication.normalizer.changes Drupal\replication\Normalizer\ChangesNormalizer
replication.normalizer.comment_item Drupal\replication\Normalizer\CommentItemNormalizer
replication.normalizer.complex_data Drupal\serialization\Normalizer\ComplexDataNormalizer
replication.normalizer.content_entity Drupal\replication\Normalizer\ContentEntityNormalizer
replication.normalizer.deleted_flag_item_list Drupal\replication\Normalizer\DeletedFlagItemListNormalizer
replication.normalizer.entity_reference_item Drupal\replication\Normalizer\EntityReferenceItemNormalizer
replication.normalizer.field Drupal\serialization\Normalizer\FieldNormalizer
replication.normalizer.field_item Drupal\serialization\Normalizer\FieldItemNormalizer
replication.normalizer.file_entity Drupal\replication\Normalizer\FileEntityNormalizer
replication.normalizer.link_item Drupal\replication\Normalizer\LinkItemNormalizer
replication.normalizer.list Drupal\serialization\Normalizer\ListNormalizer
replication.normalizer.password_field_item Drupal\serialization\Normalizer\NullNormalizer
replication.normalizer.primitive_data Drupal\serialization\Normalizer\PrimitiveDataNormalizer
replication.normalizer.replication_log Drupal\replication\Normalizer\ReplicationLogNormalizer
replication.normalizer.revision_info_item_list Drupal\replication\Normalizer\RevisionInfoItemListNormalizer
replication.normalizer.revs_diff Drupal\replication\Normalizer\RevsDiffNormalizer
replication.normalizer.safe_string Drupal\serialization\Normalizer\MarkupNormalizer
replication.normalizer.taxonomy_term Drupal\replication\Normalizer\TaxonomyTermNormalizer
replication.normalizer.text_item Drupal\replication\Normalizer\TextItemNormalizer
replication.normalizer.timestamp_item Drupal\serialization\Normalizer\TimestampItemNormalizer
replication.normalizer.typed_data Drupal\serialization\Normalizer\TypedDataNormalizer
replication.normalizer.workspace Drupal\replication\Normalizer\WorkspaceNormalizer
replication.process_file_attachment Drupal\replication\ProcessFileAttachment
replication.revisiondiff_factory Drupal\replication\RevisionDiffFactory
replication.serializer Symfony\Component\Serializer\Serializer
replication.users_mapping Drupal\replication\UsersMapping