You are here

public function EncryptionProfileInterface::setEncryptionKey in Encrypt 8.3

Sets the encryption key to use.

Parameters

\Drupal\key\Entity\Key $key: The encryption key to use on this encryption profile.

1 method overrides EncryptionProfileInterface::setEncryptionKey()
EncryptionProfile::setEncryptionKey in src/Entity/EncryptionProfile.php
Sets the encryption key to use.

File

src/EncryptionProfileInterface.php, line 59

Class

EncryptionProfileInterface
Provides an interface for defining EncryptionProfile entities.

Namespace

Drupal\encrypt

Code

public function setEncryptionKey(Key $key);