View source
- services:
- lingotek:
- class: Drupal\lingotek\Lingotek
- arguments: ['@lingotek.api', '@lingotek.language_locale_mapper', '@config.factory']
- lingotek.http_client:
- class: Drupal\lingotek\Remote\LingotekHttp
- arguments: ['@http_client', '@config.factory']
- lingotek.api:
- class: Drupal\lingotek\Remote\LingotekApi
- arguments: ['@lingotek.http_client', '@logger.channel.lingotek']
- lingotek.language_locale_mapper:
- class: Drupal\lingotek\LanguageLocaleMapper
- arguments: ['@entity.query']
- lingotek.language_form:
- class: Drupal\lingotek\Form\LingotekLanguageForm
- arguments: ['@lingotek', '@lingotek.language_locale_mapper']
- lingotek.configuration:
- class: Drupal\lingotek\LingotekConfigurationService
- lingotek.content_translation:
- class: Drupal\lingotek\LingotekContentTranslationService
- arguments: ['@lingotek', '@lingotek.language_locale_mapper', '@lingotek.configuration', '@lingotek.config_translation', '@entity.manager', '@language_manager']
- lingotek.config_translation:
- class: Drupal\lingotek\LingotekConfigTranslationService
- arguments: ['@lingotek', '@lingotek.language_locale_mapper', '@lingotek.configuration', '@entity.manager', '@language_manager', '@plugin.manager.config_translation.mapper']
- lingotek.profile_usage:
- class: Drupal\lingotek\LingotekProfileUsage
- arguments: ['@lingotek.configuration', '@entity.query', '@plugin.manager.config_translation.mapper']
- lingotek.content_translation_subscriber:
- class: Drupal\lingotek\Routing\LingotekRouteSubscriber
- arguments: ['@entity.manager']
- tags:
- - { name: event_subscriber }
- logger.channel.lingotek:
- parent: logger.channel_base
- arguments: ['lingotek']
- lingotek.config_subscriber:
- class: Drupal\lingotek\EventSubscriber\LingotekConfigSubscriber
- arguments: ['@lingotek.config_translation', '@plugin.manager.config_translation.mapper']
- tags:
- - { name: event_subscriber }