You are here

public function ExportForm::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/locale/src/Form/ExportForm.php \Drupal\locale\Form\ExportForm::__construct()
  2. 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\Form

Code

public function __construct(LanguageManagerInterface $language_manager, FileSystemInterface $file_system) {
  $this->languageManager = $language_manager;
  $this->fileSystem = $file_system;
}