public function GdprFieldSettingsForm::__construct in General Data Protection Regulation 8
Same name and namespace in other branches
- 8.2 modules/gdpr_fields/src/Form/GdprFieldSettingsForm.php \Drupal\gdpr_fields\Form\GdprFieldSettingsForm::__construct()
- 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 $entity_type_manager: Entity type manager.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.
File
- modules/
gdpr_fields/ src/ Form/ GdprFieldSettingsForm.php, line 44
Class
- GdprFieldSettingsForm
- GDPR Field settings.
Namespace
Drupal\gdpr_fields\FormCode
public function __construct(EntityFieldManagerInterface $entity_field_manager, EntityTypeManagerInterface $entity_type_manager, MessengerInterface $messenger) {
$this->entityFieldManager = $entity_field_manager;
$this->entityTypeManager = $entity_type_manager;
$this->messenger = $messenger;
}