ImportForm::__construct

public ImportForm::__construct(ModuleHandlerInterface $module_handler, ConfigurableLanguageManagerInterface $language_manager)

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 55

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;
}
doc_Drupal
2016-10-29 09:20:30
Comments
Leave a Comment

Please login to continue.