public function ConfigureMultilingualForm::__construct in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 9.0.x
Same name and namespace in other branches
- 8.8 src/Form/ConfigureMultilingualForm.php \Drupal\varbase\Form\ConfigureMultilingualForm::__construct()
- 8.4 src/Form/ConfigureMultilingualForm.php \Drupal\varbase\Form\ConfigureMultilingualForm::__construct()
- 8.5 src/Form/ConfigureMultilingualForm.php \Drupal\varbase\Form\ConfigureMultilingualForm::__construct()
- 8.6 src/Form/ConfigureMultilingualForm.php \Drupal\varbase\Form\ConfigureMultilingualForm::__construct()
- 8.7 src/Form/ConfigureMultilingualForm.php \Drupal\varbase\Form\ConfigureMultilingualForm::__construct()
Configure Multilingual Form constructor.
Parameters
string $root: The Drupal application root.
\Drupal\Core\Extension\InfoParserInterface $info_parser: The info parser service.
\Drupal\Core\StringTranslation\TranslationInterface $translator: The string translation service.
\Drupal\varbase\Form\FormHelper $form_helper: The form helper.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.
File
- src/
Form/ ConfigureMultilingualForm.php, line 64
Class
- ConfigureMultilingualForm
- Defines form for selecting Varbase's Multiligual configuration options form.
Namespace
Drupal\varbase\FormCode
public function __construct($root, InfoParserInterface $info_parser, TranslationInterface $translator, FormHelper $form_helper, ConfigFactoryInterface $config_factory) {
$this->root = $root;
$this->infoParser = $info_parser;
$this->stringTranslation = $translator;
$this->formHelper = $form_helper;
$this->configFactory = $config_factory;
}