You are here

function field_encrypt_test_node_insert in Field Encryption 3.0.x

Implements hook_ENTITY_TYPE_insert().

File

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

Code

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