public function LingotekCliService::__construct in Lingotek Translation 3.0.x
Same name and namespace in other branches
- 8.2 src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
- 4.0.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
- 3.1.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
- 3.2.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
- 3.3.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
- 3.4.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
- 3.5.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
- 3.6.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
- 3.7.x src/Cli/LingotekCliService.php \Drupal\lingotek\Cli\LingotekCliService::__construct()
- 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
Namespace
Drupal\lingotek\CliCode
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;
}