You are here

public function ConditionalFieldsFormHelper::__construct in Conditional Fields 8

Same name and namespace in other branches
  1. 4.x src/ConditionalFieldsFormHelper.php \Drupal\conditional_fields\ConditionalFieldsFormHelper::__construct()

File

src/ConditionalFieldsFormHelper.php, line 34

Class

ConditionalFieldsFormHelper
Helper to interact with forms.

Namespace

Drupal\conditional_fields

Code

public function __construct(ElementInfoManager $element_info, ConditionalFieldsHandlersManager $type) {
  $this->elementInfo = $element_info;
  $this->type = $type;
}