public function AssemblerForm::__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/AssemblerForm.php \Drupal\varbase\Form\AssemblerForm::__construct()
- 8.4 src/Form/AssemblerForm.php \Drupal\varbase\Form\AssemblerForm::__construct()
- 8.5 src/Form/AssemblerForm.php \Drupal\varbase\Form\AssemblerForm::__construct()
- 8.6 src/Form/AssemblerForm.php \Drupal\varbase\Form\AssemblerForm::__construct()
- 8.7 src/Form/AssemblerForm.php \Drupal\varbase\Form\AssemblerForm::__construct()
Assembler 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.
File
- src/
Form/ AssemblerForm.php, line 50
Class
- AssemblerForm
- Defines form for selecting extra components for the assembler to install.
Namespace
Drupal\varbase\FormCode
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;
}