public function FieldEncryptProcessEntities::decryptEntity in Field Encryption 8.2
Decrypt fields for an entity.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: The entity to decrypt fields on.
Overrides FieldEncryptProcessEntitiesInterface::decryptEntity
File
- src/
FieldEncryptProcessEntities.php, line 100
Class
- FieldEncryptProcessEntities
- Service class to process entities and fields for encryption.
Namespace
Drupal\field_encryptCode
public function decryptEntity(ContentEntityInterface $entity) {
$this
->processEntity($entity, 'decrypt');
}