You are here

lingotek.services.yml in Lingotek Translation 8.2

File

lingotek.services.yml
View source
  1. services:
  2. lingotek:
  3. class: Drupal\lingotek\Lingotek
  4. arguments: ['@lingotek.api', '@lingotek.language_locale_mapper', '@config.factory', '@lingotek.filter_manager']
  5. lingotek.http_client:
  6. class: Drupal\lingotek\Remote\LingotekHttp
  7. arguments: ['@http_client', '@config.factory']
  8. lingotek.api:
  9. class: Drupal\lingotek\Remote\LingotekApi
  10. arguments: ['@lingotek.http_client', '@logger.channel.lingotek']
  11. lingotek.language_locale_mapper:
  12. class: Drupal\lingotek\LanguageLocaleMapper
  13. arguments: ['@entity_type.manager', '@entity_type.manager']
  14. lingotek.language_form:
  15. class: Drupal\lingotek\Form\LingotekLanguageForm
  16. arguments: ['@lingotek', '@lingotek.language_locale_mapper', '@lingotek.configuration']
  17. lingotek.language_content_settings_form:
  18. class: Drupal\lingotek\Form\LingotekLanguageContentSettingsForm
  19. arguments: ['@entity_type.bundle.info']
  20. lingotek.field_config_edit_form:
  21. class: Drupal\lingotek\Form\LingotekFieldConfigEditForm
  22. arguments: ['@lingotek.configuration']
  23. lingotek.paragraphs_bulk_form:
  24. class: Drupal\lingotek\Form\LingotekParagraphsBulkForm
  25. arguments: ['@lingotek.configuration']
  26. lingotek.media_bulk_form:
  27. class: Drupal\lingotek\Form\LingotekMediaBulkForm
  28. arguments: ['@lingotek.configuration']
  29. lingotek.element_info_alter:
  30. class: Drupal\lingotek\Form\LingotekElementInfoAlterForm
  31. arguments: ['@current_user', '@entity_type.manager', '@router.builder', '@lingotek.configuration']
  32. lingotek.configuration:
  33. class: Drupal\lingotek\LingotekConfigurationService
  34. lingotek.intelligence_config:
  35. class: Drupal\lingotek\LingotekIntelligenceServiceConfig
  36. arguments: ['@config.factory']
  37. lingotek.intelligence:
  38. class: Drupal\lingotek\LingotekIntelligenceService
  39. arguments: ['@lingotek.intelligence_config']
  40. lingotek.filter_manager:
  41. class: Drupal\lingotek\LingotekFilterManager
  42. arguments: ['@config.factory']
  43. lingotek.moderation_factory:
  44. class: Drupal\lingotek\Moderation\LingotekModerationFactory
  45. arguments: ['@config.factory']
  46. tags:
  47. - { name: service_collector, tag: lingotek_moderation_configuration, call: addModerationConfiguration }
  48. - { name: service_collector, tag: lingotek_moderation_form, call: addModerationForm }
  49. - { name: service_collector, tag: lingotek_moderation_handler, call: addModerationHandler }
  50. lingotek.content_translation:
  51. class: Drupal\lingotek\LingotekContentTranslationService
  52. arguments: ['@lingotek', '@lingotek.language_locale_mapper', '@lingotek.configuration', '@lingotek.config_translation', '@entity_type.manager', '@language_manager', '@entity_field.manager', '@database']
  53. lingotek.config_translation:
  54. class: Drupal\lingotek\LingotekConfigTranslationService
  55. arguments: ['@lingotek', '@lingotek.language_locale_mapper', '@lingotek.configuration', '@entity_type.manager', '@language_manager', '@plugin.manager.config_translation.mapper']
  56. lingotek.profile_usage:
  57. class: Drupal\lingotek\LingotekProfileUsage
  58. arguments: ['@lingotek.configuration', '@entity_type.manager', '@plugin.manager.config_translation.mapper', '@entity_type.bundle.info', '@entity_type.manager']
  59. lingotek.content_translation_subscriber:
  60. class: Drupal\lingotek\Routing\LingotekRouteSubscriber
  61. arguments: ['@entity_type.manager']
  62. tags:
  63. - { name: event_subscriber }
  64. logger.channel.lingotek:
  65. parent: logger.channel_base
  66. arguments: ['lingotek']
  67. lingotek.config_subscriber:
  68. class: Drupal\lingotek\EventSubscriber\LingotekConfigSubscriber
  69. arguments: ['@lingotek.config_translation', '@plugin.manager.config_translation.mapper', '@lingotek.configuration', '@entity_type.manager', '@entity_field.manager']
  70. tags:
  71. - { name: event_subscriber }
  72. lingotek.field_deleted_subscriber:
  73. class: Drupal\lingotek\EventSubscriber\LingotekFieldDeletedConfigSubscriber
  74. arguments: ['@lingotek.configuration']
  75. tags:
  76. - { name: event_subscriber }
  77. lingotek.actions_creation_subscriber:
  78. class: \Drupal\lingotek\Plugin\Action\Subscriber\LingotekActionsManagementSubscriber
  79. arguments: ['@entity_type.manager', '@plugin.manager.action', '@lingotek.configuration']
  80. tags:
  81. - { name: event_subscriber }
  82. lingotek.no_moderation_configuration:
  83. class: Drupal\lingotek\Moderation\LingotekNoModerationConfigurationService
  84. arguments: ['@module_handler']
  85. tags:
  86. - { name: lingotek_moderation_configuration, priority: 0 }
  87. lingotek.no_moderation_form:
  88. class: Drupal\lingotek\Moderation\LingotekNoModerationSettingsForm
  89. arguments: ['@module_handler']
  90. tags:
  91. - { name: lingotek_moderation_form, priority: 0 }
  92. lingotek.no_moderation_handler:
  93. class: Drupal\lingotek\Moderation\LingotekNoModerationHandler
  94. arguments: ['@module_handler']
  95. tags:
  96. - { name: lingotek_moderation_handler, priority: 0 }
  97. lingotek.workbench_moderation_configuration:
  98. class: Drupal\lingotek\Moderation\LingotekWorkbenchModerationConfigurationService
  99. arguments: ['@module_handler', '@config.factory']
  100. tags:
  101. - { name: lingotek_moderation_configuration, priority: 10 }
  102. lingotek.workbench_moderation_form:
  103. class: Drupal\lingotek\Moderation\LingotekWorkbenchModerationSettingsForm
  104. arguments: ['@module_handler', '@entity_type.manager', '@lingotek.workbench_moderation_configuration', '@service_container', '@url_generator']
  105. tags:
  106. - { name: lingotek_moderation_form, priority: 10 }
  107. lingotek.workbench_moderation_handler:
  108. class: Drupal\lingotek\Moderation\LingotekWorkbenchModerationHandler
  109. arguments: ['@module_handler', '@entity_type.manager', '@lingotek.workbench_moderation_configuration', '@service_container']
  110. tags:
  111. - { name: lingotek_moderation_handler, priority: 10 }
  112. lingotek.content_moderation_configuration:
  113. class: Drupal\lingotek\Moderation\LingotekContentModerationConfigurationService
  114. arguments: ['@module_handler', '@config.factory']
  115. tags:
  116. - { name: lingotek_moderation_configuration, priority: 20 }
  117. lingotek.content_moderation_form:
  118. class: Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm
  119. arguments: ['@module_handler', '@entity_type.manager', '@lingotek.content_moderation_configuration', '@entity_type.bundle.info', '@service_container', '@url_generator']
  120. tags:
  121. - { name: lingotek_moderation_form, priority: 20 }
  122. lingotek.content_moderation_handler:
  123. class: Drupal\lingotek\Moderation\LingotekContentModerationHandler
  124. arguments: ['@module_handler', '@entity_type.manager', '@lingotek.content_moderation_configuration', '@entity_type.bundle.info', '@service_container']
  125. tags:
  126. - { name: lingotek_moderation_handler, priority: 20 }
  127. lingotek.translation_job_breadcrumb_builder:
  128. class: Drupal\lingotek\Breadcrumb\TranslationJobBreadcrumbBuilder
  129. arguments: ['@request_stack', '@current_user', '@title_resolver', '@access_manager']
  130. tags:
  131. - { name: breadcrumb_builder, priority: 100 }
  132. lingotek.cli_service:
  133. class: Drupal\lingotek\Cli\LingotekCliService
  134. arguments: ['@entity_type.manager', '@lingotek.content_translation', '@lingotek.language_locale_mapper']

Services

Namesort descending Description
lingotek Drupal\lingotek\Lingotek
lingotek.actions_creation_subscriber \Drupal\lingotek\Plugin\Action\Subscriber\LingotekActionsManagementSubscriber
lingotek.api Drupal\lingotek\Remote\LingotekApi
lingotek.cli_service Drupal\lingotek\Cli\LingotekCliService
lingotek.configuration Drupal\lingotek\LingotekConfigurationService
lingotek.config_subscriber Drupal\lingotek\EventSubscriber\LingotekConfigSubscriber
lingotek.config_translation Drupal\lingotek\LingotekConfigTranslationService
lingotek.content_moderation_configuration Drupal\lingotek\Moderation\LingotekContentModerationConfigurationService
lingotek.content_moderation_form Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm
lingotek.content_moderation_handler Drupal\lingotek\Moderation\LingotekContentModerationHandler
lingotek.content_translation Drupal\lingotek\LingotekContentTranslationService
lingotek.content_translation_subscriber Drupal\lingotek\Routing\LingotekRouteSubscriber
lingotek.element_info_alter Drupal\lingotek\Form\LingotekElementInfoAlterForm
lingotek.field_config_edit_form Drupal\lingotek\Form\LingotekFieldConfigEditForm
lingotek.field_deleted_subscriber Drupal\lingotek\EventSubscriber\LingotekFieldDeletedConfigSubscriber
lingotek.filter_manager Drupal\lingotek\LingotekFilterManager
lingotek.http_client Drupal\lingotek\Remote\LingotekHttp
lingotek.intelligence Drupal\lingotek\LingotekIntelligenceService
lingotek.intelligence_config Drupal\lingotek\LingotekIntelligenceServiceConfig
lingotek.language_content_settings_form Drupal\lingotek\Form\LingotekLanguageContentSettingsForm
lingotek.language_form Drupal\lingotek\Form\LingotekLanguageForm
lingotek.language_locale_mapper Drupal\lingotek\LanguageLocaleMapper
lingotek.media_bulk_form Drupal\lingotek\Form\LingotekMediaBulkForm
lingotek.moderation_factory Drupal\lingotek\Moderation\LingotekModerationFactory
lingotek.no_moderation_configuration Drupal\lingotek\Moderation\LingotekNoModerationConfigurationService
lingotek.no_moderation_form Drupal\lingotek\Moderation\LingotekNoModerationSettingsForm
lingotek.no_moderation_handler Drupal\lingotek\Moderation\LingotekNoModerationHandler
lingotek.paragraphs_bulk_form Drupal\lingotek\Form\LingotekParagraphsBulkForm
lingotek.profile_usage Drupal\lingotek\LingotekProfileUsage
lingotek.translation_job_breadcrumb_builder Drupal\lingotek\Breadcrumb\TranslationJobBreadcrumbBuilder
lingotek.workbench_moderation_configuration Drupal\lingotek\Moderation\LingotekWorkbenchModerationConfigurationService
lingotek.workbench_moderation_form Drupal\lingotek\Moderation\LingotekWorkbenchModerationSettingsForm
lingotek.workbench_moderation_handler Drupal\lingotek\Moderation\LingotekWorkbenchModerationHandler
logger.channel.lingotek