You are here

public function UpdateEncryptionProfileForm::__construct in Field Encryption 3.0.x

Constructs a new FieldEncryptDecryptForm.

Parameters

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

\Drupal\Core\Queue\QueueInterface $queue: The field encryption entity update queue.

File

src/Form/UpdateEncryptionProfileForm.php, line 55

Class

UpdateEncryptionProfileForm
Confirmation form for updating encryption on an entity.

Namespace

Drupal\field_encrypt\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, QueueInterface $queue) {
  $this->entityTypeManager = $entity_type_manager;
  $this->queue = $queue;
}