You are here

public function GdprFieldSettingsForm::__construct in General Data Protection Regulation 8.2

Same name and namespace in other branches
  1. 8 modules/gdpr_fields/src/Form/GdprFieldSettingsForm.php \Drupal\gdpr_fields\Form\GdprFieldSettingsForm::__construct()
  2. 3.0.x modules/gdpr_fields/src/Form/GdprFieldSettingsForm.php \Drupal\gdpr_fields\Form\GdprFieldSettingsForm::__construct()

GdprFieldSettingsForm constructor.

Parameters

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: Entity field manager.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Entity type manager.

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

File

modules/gdpr_fields/src/Form/GdprFieldSettingsForm.php, line 46

Class

GdprFieldSettingsForm
GDPR Field settings.

Namespace

Drupal\gdpr_fields\Form

Code

public function __construct(EntityFieldManagerInterface $entity_field_manager, EntityTypeManagerInterface $entityTypeManager, MessengerInterface $messenger) {
  $this->entityFieldManager = $entity_field_manager;
  $this->entityTypeManager = $entityTypeManager;
  $this->messenger = $messenger;
}