You are here

public function ConditionalFieldEditForm::__construct in Conditional Fields 4.x

Same name and namespace in other branches
  1. 8 src/Form/ConditionalFieldEditForm.php \Drupal\conditional_fields\Form\ConditionalFieldEditForm::__construct()

Class constructor.

File

src/Form/ConditionalFieldEditForm.php, line 57

Class

ConditionalFieldEditForm
An edit form for conditional fields.

Namespace

Drupal\conditional_fields\Form

Code

public function __construct(Conditions $list, EntityTypeManagerInterface $entity_type_manager, FormBuilderInterface $form_builder) {
  $this->list = $list;
  $this->entityTypeManager = $entity_type_manager;
  $this->formBuilder = $form_builder;
}