function 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;
}

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