You are here

public function EncryptedFieldValue::getEncryptedValue in Field Encryption 8.2

Get the encrypted field value.

Return value

string The encrypted value.

Overrides EncryptedFieldValueInterface::getEncryptedValue

File

src/Entity/EncryptedFieldValue.php, line 83

Class

EncryptedFieldValue
Defines the EncryptedFieldValue entity.

Namespace

Drupal\field_encrypt\Entity

Code

public function getEncryptedValue() {
  return $this
    ->get('encrypted_value')->value;
}