function ImportForm::__construct

Same name and namespace in other branches
  1. 10 core/modules/locale/src/Form/ImportForm.php \Drupal\locale\Form\ImportForm::__construct()
  2. 11.x core/modules/locale/src/Form/ImportForm.php \Drupal\locale\Form\ImportForm::__construct()
  3. 9 core/modules/locale/src/Form/ImportForm.php \Drupal\locale\Form\ImportForm::__construct()
  4. 8.9.x core/modules/locale/src/Form/ImportForm.php \Drupal\locale\Form\ImportForm::__construct()

File

core/modules/locale/src/Form/ImportForm.php, line 31

Class

ImportForm
Form constructor for the translation import screen.

Namespace

Drupal\locale\Form

Code

public function __construct(protected ModuleHandlerInterface $moduleHandler, #[Autowire('language_manager')] protected ConfigurableLanguageManagerInterface $languageManager, protected readonly LocaleImportBatch $localeImportBatch, protected readonly LocaleConfigBatch $localeConfigBatch) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.