You are here

function field_encrypt_test_entity_update in Field Encryption 3.0.x

Implements hook_entity_update().

File

tests/modules/field_encrypt_test/field_encrypt_test.module, line 17
Contains module hooks for field_encrypt_test.

Code

function field_encrypt_test_entity_update(EntityInterface $entity) {
  if ($entity instanceof NodeInterface) {
    \Drupal::messenger()
      ->addMessage(t('Field encrypt test hook_entity_update: @label', [
      '@label' => $entity
        ->label(),
    ]));
  }
}