public function FieldEncryptProcessEntities::__construct in Field Encryption 8.2
Constructs a FieldEncryptProcessEntities object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: An entity manager service.
\Drupal\encrypt\EncryptServiceInterface $encrypt_service: The encryption service.
\Drupal\encrypt\EncryptionProfileManagerInterface $encryption_profile_manager: The encryption profile manager.
\Drupal\field_encrypt\EncryptedFieldValueManagerInterface $encrypted_field_value_manager: The EncryptedFieldValue entity manager.
File
- src/
FieldEncryptProcessEntities.php, line 64
Class
- FieldEncryptProcessEntities
- Service class to process entities and fields for encryption.
Namespace
Drupal\field_encryptCode
public function __construct(EntityTypeManagerInterface $entity_manager, EncryptServiceInterface $encrypt_service, EncryptionProfileManagerInterface $encryption_profile_manager, EncryptedFieldValueManagerInterface $encrypted_field_value_manager) {
$this->entityManager = $entity_manager;
$this->encryptService = $encrypt_service;
$this->encryptionProfileManager = $encryption_profile_manager;
$this->encryptedFieldValueManager = $encrypted_field_value_manager;
}