You are here

tmgmt_smartling.services.yml in TMGMT Translator Smartling 8.4

File

tmgmt_smartling.services.yml
View source
  1. services:
  2. logger.channel.smartling:
  3. parent: logger.channel_base
  4. arguments: ['tmgmt_smartling']
  5. logger.smartling:
  6. class: Drupal\tmgmt_smartling\Logger\BufferLogger
  7. arguments: ['@http_client', '@logger.log_message_parser', '@config.factory', '@request_stack']
  8. calls:
  9. - [setConfigManager, ['@tmgmt_smartling.smartling_config_manager']]
  10. tags:
  11. - { name: logger }
  12. tmgmt_smartling.utils.context.job_url:
  13. class: Drupal\tmgmt_smartling\Context\TranslationJobToUrl
  14. arguments: ['@entity_type.manager']
  15. tmgmt_smartling.utils.context.current_user_auth:
  16. class: Drupal\tmgmt_smartling\Context\ContextCurrentUserAuth
  17. arguments: ['@current_user']
  18. tmgmt_smartling.utils.context.user_auth:
  19. class: Drupal\tmgmt_smartling\Context\ContextUserAuth
  20. arguments: ['@current_user', '@entity_type.manager', '@module_handler', '@session_manager', '@session', '@logger.channel.smartling']
  21. tmgmt_smartling.utils.context.html_asset_inliner:
  22. class: Drupal\tmgmt_smartling\Context\HtmlAssetInliner
  23. arguments: []
  24. tmgmt_smartling.utils.context.uploader:
  25. class: Drupal\tmgmt_smartling\Context\ContextUploader
  26. arguments: ['@tmgmt_smartling.smartling_api_wrapper', '@tmgmt_smartling.utils.context.job_url', '@tmgmt_smartling.utils.context.user_auth', '@tmgmt_smartling.utils.context.html_asset_inliner', '@logger.channel.smartling']
  27. tmgmt_smartling.subscriber.request_translation:
  28. class: \Drupal\tmgmt_smartling\EventSubscriber\RequestTranslationSubscriber
  29. arguments: ['@queue', '@tmgmt_smartling.utils.context.job_url']
  30. tags:
  31. - { name: 'event_subscriber' }
  32. tmgmt_smartling.subscriber.request:
  33. class: \Drupal\tmgmt_smartling\EventSubscriber\RequestSubscriber
  34. arguments: ['@queue', '@current_user']
  35. tags:
  36. - { name: 'event_subscriber' }
  37. tmgmt_smartling.event_subscriber.config:
  38. class: \Drupal\tmgmt_smartling\EventSubscriber\ConfigEventsSubscriber
  39. arguments: ['@cache_tags.invalidator']
  40. tags:
  41. - { name: 'event_subscriber' }
  42. tmgmt_smartling.smartling_api_factory:
  43. class: \Drupal\tmgmt_smartling\Smartling\SmartlingApiFactory
  44. tmgmt_smartling.smartling_api_wrapper:
  45. class: \Drupal\tmgmt_smartling\Smartling\SmartlingApiWrapper
  46. arguments: ['@tmgmt_smartling.smartling_api_factory', '@logger.channel.smartling']
  47. tmgmt_smartling.bucket_job_manager:
  48. class: \Drupal\tmgmt_smartling\Smartling\BucketJobManager
  49. arguments: ['@logger.channel.smartling', '@tmgmt_smartling.smartling_api_wrapper', '@module_handler', '@tmgmt_extension_suit.utils.queue_unique_item']
  50. tmgmt_smartling.smartling_config_manager:
  51. class: \Drupal\tmgmt_smartling\Smartling\ConfigManager\SmartlingConfigManager
  52. arguments: ['@config.factory']
  53. tmgmt_smartling.firebase_config_manager:
  54. class: \Drupal\tmgmt_smartling\Smartling\ConfigManager\FirebaseConfigManager
  55. calls:
  56. - [setSmartlingApiWrapper, ['@tmgmt_smartling.smartling_api_wrapper']]
  57. - [setDefaultCache, ['@cache.default']]
  58. arguments: ['@config.factory']
  59. tmgmt_smartling.translation_request_manager:
  60. class: \Drupal\tmgmt_smartling\Smartling\Submission\TranslationRequestManager
  61. arguments: ['@tmgmt_smartling.smartling_api_wrapper', '@state', '@logger.channel.smartling']
  62. tmgmt_smartling.lock_fields_manager:
  63. class: \Drupal\tmgmt_smartling\Smartling\LockFields\LockFieldsManager
  64. arguments: ['@state', '@entity_type.manager', '@entity.repository']
  65. tmgmt_smartling.lock_fields_form_manager:
  66. class: \Drupal\tmgmt_smartling\Smartling\LockFields\LockFieldsFormManager
  67. arguments: ['@tmgmt_smartling.lock_fields_manager', '@language_manager']

Services

Namesort descending Description
logger.channel.smartling
logger.smartling Drupal\tmgmt_smartling\Logger\BufferLogger
tmgmt_smartling.bucket_job_manager \Drupal\tmgmt_smartling\Smartling\BucketJobManager
tmgmt_smartling.event_subscriber.config \Drupal\tmgmt_smartling\EventSubscriber\ConfigEventsSubscriber
tmgmt_smartling.firebase_config_manager \Drupal\tmgmt_smartling\Smartling\ConfigManager\FirebaseConfigManager
tmgmt_smartling.lock_fields_form_manager \Drupal\tmgmt_smartling\Smartling\LockFields\LockFieldsFormManager
tmgmt_smartling.lock_fields_manager \Drupal\tmgmt_smartling\Smartling\LockFields\LockFieldsManager
tmgmt_smartling.smartling_api_factory \Drupal\tmgmt_smartling\Smartling\SmartlingApiFactory
tmgmt_smartling.smartling_api_wrapper \Drupal\tmgmt_smartling\Smartling\SmartlingApiWrapper
tmgmt_smartling.smartling_config_manager \Drupal\tmgmt_smartling\Smartling\ConfigManager\SmartlingConfigManager
tmgmt_smartling.subscriber.request \Drupal\tmgmt_smartling\EventSubscriber\RequestSubscriber
tmgmt_smartling.subscriber.request_translation \Drupal\tmgmt_smartling\EventSubscriber\RequestTranslationSubscriber
tmgmt_smartling.translation_request_manager \Drupal\tmgmt_smartling\Smartling\Submission\TranslationRequestManager
tmgmt_smartling.utils.context.current_user_auth Drupal\tmgmt_smartling\Context\ContextCurrentUserAuth
tmgmt_smartling.utils.context.html_asset_inliner Drupal\tmgmt_smartling\Context\HtmlAssetInliner
tmgmt_smartling.utils.context.job_url Drupal\tmgmt_smartling\Context\TranslationJobToUrl
tmgmt_smartling.utils.context.uploader Drupal\tmgmt_smartling\Context\ContextUploader
tmgmt_smartling.utils.context.user_auth Drupal\tmgmt_smartling\Context\ContextUserAuth