You are here

function field_encrypt_test_node_update in Field Encryption 3.0.x

Implements hook_ENTITY_TYPE_update().

File

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

Code

function field_encrypt_test_node_update(EntityInterface $entity) {
  \Drupal::messenger()
    ->addMessage(t('Field encrypt test hook_ENTITY_TYPE_update: @label', [
    '@label' => $entity
      ->label(),
  ]));
}