You are here

public function LingotekCliService::__construct in Lingotek Translation 3.1.x

Same name and namespace in other branches
  1. 8.2 src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
  2. 4.0.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
  3. 3.0.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
  4. 3.2.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
  5. 3.3.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
  6. 3.4.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
  7. 3.5.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
  8. 3.6.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
  9. 3.7.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
  10. 3.8.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()

LingotekCliService constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\lingotek\LingotekContentTranslationServiceInterface $translation_service: The Lingotek content translation service.

\Drupal\lingotek\LanguageLocaleMapperInterface $language_locale_mapper: The language-locale mapper.

File

src/Cli/LingotekCliService.php, line 62

Class

LingotekCliService

Namespace

Drupal\lingotek\Cli

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, LingotekContentTranslationServiceInterface $translation_service, LanguageLocaleMapperInterface $language_locale_mapper) {
  $this->entityTypeManager = $entity_type_manager;
  $this->translationService = $translation_service;
  $this->languageLocaleMapper = $language_locale_mapper;
}