You are here

public function DevelopmentToolsAssemblerForm::__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/DevelopmentToolsAssemblerForm.php \Drupal\varbase\Form\DevelopmentToolsAssemblerForm::__construct()
  2. 8.4 src/Form/DevelopmentToolsAssemblerForm.php \Drupal\varbase\Form\DevelopmentToolsAssemblerForm::__construct()
  3. 8.6 src/Form/DevelopmentToolsAssemblerForm.php \Drupal\varbase\Form\DevelopmentToolsAssemblerForm::__construct()
  4. 8.7 src/Form/DevelopmentToolsAssemblerForm.php \Drupal\varbase\Form\DevelopmentToolsAssemblerForm::__construct()
  5. 9.0.x src/Form/DevelopmentToolsAssemblerForm.php \Drupal\varbase\Form\DevelopmentToolsAssemblerForm::__construct()

Assembler 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/DevelopmentToolsAssemblerForm.php, line 50

Class

DevelopmentToolsAssemblerForm
Defines form for selecting extra compoennts for the assembler to install.

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;
}