You are here

public function ConfigureMultilingualForm::__construct in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.5

Same name and namespace in other branches
  1. 8.8 src/Form/ConfigureMultilingualForm.php \Drupal\varbase\Form\ConfigureMultilingualForm::__construct()
  2. 8.4 src/Form/ConfigureMultilingualForm.php \Drupal\varbase\Form\ConfigureMultilingualForm::__construct()
  3. 8.6 src/Form/ConfigureMultilingualForm.php \Drupal\varbase\Form\ConfigureMultilingualForm::__construct()
  4. 8.7 src/Form/ConfigureMultilingualForm.php \Drupal\varbase\Form\ConfigureMultilingualForm::__construct()
  5. 9.0.x src/Form/ConfigureMultilingualForm.php \Drupal\varbase\Form\ConfigureMultilingualForm::__construct()

Configure Multilingual Form constructor.

Parameters

string $root: The Drupal application root.

InfoParserInterface $info_parser: The info parser service.

TranslationInterface $translator: The string translation service.

\Drupal\varbase\Form\FormHelper $form_helper: The form helper.

File

src/Form/ConfigureMultilingualForm.php, line 50

Class

ConfigureMultilingualForm
Defines form for selecting Varbase's Multiligual configuration options form.

Namespace

Drupal\varbase\Form

Code

public function __construct($root, InfoParserInterface $info_parser, TranslationInterface $translator, FormHelper $form_helper) {
  $this->root = $root;
  $this->infoParser = $info_parser;
  $this->stringTranslation = $translator;
  $this->formHelper = $form_helper;
}