function ExportForm::__construct
Same name in other branches
- 9 core/modules/locale/src/Form/ExportForm.php \Drupal\locale\Form\ExportForm::__construct()
- 8.9.x core/modules/locale/src/Form/ExportForm.php \Drupal\locale\Form\ExportForm::__construct()
- 10 core/modules/locale/src/Form/ExportForm.php \Drupal\locale\Form\ExportForm::__construct()
Constructs a new ExportForm.
Parameters
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
\Drupal\Core\File\FileSystemInterface $file_system: The file system service.
File
-
core/
modules/ locale/ src/ Form/ ExportForm.php, line 44
Class
- ExportForm
- Form for the Gettext translation files export form.
Namespace
Drupal\locale\FormCode
public function __construct(LanguageManagerInterface $language_manager, FileSystemInterface $file_system) {
$this->languageManager = $language_manager;
$this->fileSystem = $file_system;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.