You are here

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

FormHelper constructor.

Parameters

\Drupal\Core\Render\ElementInfoManagerInterface $element_info: Element info plugin manager.

File

src/Form/FormHelper.php, line 25

Class

FormHelper
Form helper.

Namespace

Drupal\varbase\Form

Code

public function __construct(ElementInfoManagerInterface $element_info) {
  $this->elementInfo = $element_info;
}