You are here

public function FieldEncryptProcessEntitiesInterface::entityHasEncryptedFields in Field Encryption 8.2

Check if entity has encrypted fields.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity: The entity to check.

Return value

bool TRUE if entity has encrypted fields, FALSE if not.

1 method overrides FieldEncryptProcessEntitiesInterface::entityHasEncryptedFields()
FieldEncryptProcessEntities::entityHasEncryptedFields in src/FieldEncryptProcessEntities.php
Check if entity has encrypted fields.

File

src/FieldEncryptProcessEntitiesInterface.php, line 22

Class

FieldEncryptProcessEntitiesInterface
Interface for service class to process entities and fields for encryption.

Namespace

Drupal\field_encrypt

Code

public function entityHasEncryptedFields(ContentEntityInterface $entity);