public function FieldEncryptProcessEntitiesInterface::encryptEntity in Field Encryption 8.2
Encrypt fields for an entity.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: The entity to encrypt fields on.
1 method overrides FieldEncryptProcessEntitiesInterface::encryptEntity()
- FieldEncryptProcessEntities::encryptEntity in src/
FieldEncryptProcessEntities.php - Encrypt fields for an entity.
File
- src/
FieldEncryptProcessEntitiesInterface.php, line 30
Class
- FieldEncryptProcessEntitiesInterface
- Interface for service class to process entities and fields for encryption.
Namespace
Drupal\field_encryptCode
public function encryptEntity(ContentEntityInterface $entity);