You are here

public function EncryptionProfileInterface::setEncryptionMethod in Encrypt 8.3

Sets the encryption method to use.

Parameters

\Drupal\encrypt\EncryptionMethodInterface $encryption_method: The encryption method to use on this encryption profile.

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

File

src/EncryptionProfileInterface.php, line 35

Class

EncryptionProfileInterface
Provides an interface for defining EncryptionProfile entities.

Namespace

Drupal\encrypt

Code

public function setEncryptionMethod(EncryptionMethodInterface $encryption_method);