You are here

public function FieldInheritanceSettingsForm::__construct in Field Inheritance 8

Same name and namespace in other branches
  1. 2.0.x src/Form/FieldInheritanceSettingsForm.php \Drupal\field_inheritance\Form\FieldInheritanceSettingsForm::__construct()

Construct an FieldInheritanceForm.

Parameters

\Drupal\Core\Messenger\Messenger $messenger: The messenger service.

\Drupal\Core\Entity\EntityTypeManager $entity_type_manager: The entity type manager service.

\Drupal\Core\Entity\EntityTypeBundleInfo $entity_type_bundle_info: The entity type bundle info service.

Overrides ConfigFormBase::__construct

File

src/Form/FieldInheritanceSettingsForm.php, line 68

Class

FieldInheritanceSettingsForm
Provides a form for configuring field inheritance settings.

Namespace

Drupal\field_inheritance\Form

Code

public function __construct(Messenger $messenger, EntityTypeManager $entity_type_manager, EntityTypeBundleInfo $entity_type_bundle_info) {
  $this->messenger = $messenger;
  $this->entityTypeManager = $entity_type_manager;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
}