You are here

public function PotxExtractTranslationForm::__construct in Translation template extractor 8

Constructs a new PotxExtractTranslationForm object.

Parameters

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager service.

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

\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.

File

src/Form/PotxExtractTranslationForm.php, line 50

Class

PotxExtractTranslationForm
Class PotxExtractTranslationForm.

Namespace

Drupal\potx\Form

Code

public function __construct(LanguageManagerInterface $language_manager, ModuleHandlerInterface $module_handler, ThemeHandlerInterface $theme_handler) {
  $this->languageManager = $language_manager;
  $this->moduleHandler = $module_handler;
  $this->themeHandler = $theme_handler;
}