You are here

entity_share_client.services.yml in Entity Share 8.3

modules/entity_share_client/entity_share_client.services.yml

File

modules/entity_share_client/entity_share_client.services.yml
View source
  1. parameters:
  2. entity_share_client.batch_size: 10
  3. services:
  4. logger.channel.entity_share_client:
  5. parent: logger.channel_base
  6. arguments: ['entity_share_client']
  7. plugin.manager.entity_share_client_import_processor:
  8. class: Drupal\entity_share_client\ImportProcessor\ImportProcessorPluginManager
  9. parent: default_plugin_manager
  10. plugin.manager.entity_share_client_authorization:
  11. class: Drupal\entity_share_client\ClientAuthorization\ClientAuthorizationPluginManager
  12. parent: default_plugin_manager
  13. entity_share_client.import_config_manipulator:
  14. class: Drupal\entity_share_client\Service\ImportConfigManipulator
  15. arguments:
  16. - '@plugin.manager.entity_share_client_import_processor'
  17. entity_share_client.remote_manager:
  18. class: Drupal\entity_share_client\Service\RemoteManager
  19. arguments:
  20. - '@logger.channel.entity_share_client'
  21. entity_share_client.import_service:
  22. class: Drupal\entity_share_client\Service\ImportService
  23. arguments:
  24. - '@entity_type.manager'
  25. - '@logger.channel.entity_share_client'
  26. - '@messenger'
  27. - '@entity_share_client.remote_manager'
  28. - '@entity_share_client.import_config_manipulator'
  29. - '@entity_share_client.jsonapi_helper'
  30. entity_share_client.jsonapi_helper:
  31. class: Drupal\entity_share_client\Service\JsonapiHelper
  32. arguments:
  33. - '@jsonapi.serializer'
  34. - '@serializer.normalizer.jsonapi_document_toplevel.jsonapi'
  35. - '@jsonapi.resource_type.repository'
  36. entity_share_client.form_helper:
  37. class: Drupal\entity_share_client\Service\FormHelper
  38. arguments:
  39. - '@jsonapi.resource_type.repository'
  40. - '@entity_type.bundle.info'
  41. - '@entity_type.manager'
  42. - '@language_manager'
  43. - '@entity_share_client.state_information'
  44. - '@module_handler'
  45. entity_share_client.entity_reference_helper:
  46. class: Drupal\entity_share_client\Service\EntityReferenceHelper
  47. arguments:
  48. - '@entity_type.manager'
  49. entity_share_client.state_information:
  50. class: Drupal\entity_share_client\Service\StateInformation
  51. arguments:
  52. - '@entity_type.manager'
  53. - '@jsonapi.resource_type.repository'
  54. - '@datetime.time'
  55. entity_share_client.entity_reference_revisions_relationship_subscriber:
  56. class: Drupal\entity_share_client\EventSubscriber\EntityReferenceRevisionsRelationshipSubscriber
  57. arguments:
  58. - '@entity_type.manager'
  59. tags:
  60. - { name: event_subscriber }
  61. entity_share_client.cli:
  62. class: Drupal\entity_share_client\Service\EntityShareClientCliService
  63. arguments:
  64. - '@string_translation'
  65. - '@entity_share_client.import_service'
  66. entity_share_client.key_provider:
  67. class: Drupal\entity_share_client\Service\KeyProvider
  68. arguments: ['@keyvalue']
  69. calls:
  70. - [setKeyRepository, ['@?key.repository']]