EncryptedFieldTrait::setEncryptionKeyFromRecord
Uses a DataObject or $record array to retrieve a custom encryption/decryption key by calling that DataObject's provideEncryptionKey() method. If the method is not defined, does not alter the key which will be used.
Signature
private function setEncryptionKeyFromRecord(array|DataObject
$record )
Parameters
$record
— object