public function DrushLanguageCliService::__construct in Drush Language Commands 8
DrushLanguageCommands constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config.factory service.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity_type.manager service.
\Drupal\language\ConfigurableLanguageManagerInterface $languageManager: The language_manager service.
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module_handler service.
File
- src/
Service/ DrushLanguageCliService.php, line 81
Class
- DrushLanguageCliService
- Class DrushLanguageCliService.
Namespace
Drupal\drush_language\ServiceCode
public function __construct(ConfigFactoryInterface $configFactory, EntityTypeManagerInterface $entityTypeManager, ConfigurableLanguageManagerInterface $languageManager, ModuleHandlerInterface $moduleHandler, FileSystemInterface $fileSystem) {
$this->configFactory = $configFactory;
$this->entityTypeManager = $entityTypeManager;
$this->languageManager = $languageManager;
$this->moduleHandler = $moduleHandler;
$this->fileSystem = $fileSystem;
$this->errors = [];
}