You are here

public function ImportForm::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/Form/ImportForm.php \Drupal\locale\Form\ImportForm::__construct()

Constructs a form for language import.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.

\Drupal\language\ConfigurableLanguageManagerInterface $language_manager: The configurable language manager.

File

core/modules/locale/src/Form/ImportForm.php, line 60
Contains \Drupal\locale\Form\ImportForm.

Class

ImportForm
Form constructor for the translation import screen.

Namespace

Drupal\locale\Form

Code

public function __construct(ModuleHandlerInterface $module_handler, ConfigurableLanguageManagerInterface $language_manager) {
  $this->moduleHandler = $module_handler;
  $this->languageManager = $language_manager;
}