public function FieldEncryptProcessEntitiesInterface::entitySetCacheTags in Field Encryption 8.2
Set the cache tags correctly for each encrypted field on an entity.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: The entity whose fields to set cache tags on.
$build: The entity render array.
1 method overrides FieldEncryptProcessEntitiesInterface::entitySetCacheTags()
- FieldEncryptProcessEntities::entitySetCacheTags in src/
FieldEncryptProcessEntities.php - Set the cache tags correctly for each encrypted field on an entity.
File
- src/
FieldEncryptProcessEntitiesInterface.php, line 62
Class
- FieldEncryptProcessEntitiesInterface
- Interface for service class to process entities and fields for encryption.
Namespace
Drupal\field_encryptCode
public function entitySetCacheTags(ContentEntityInterface $entity, &$build);