Log Entity Translation delete occurances

Created on 16 January 2024, 10 months ago
Updated 19 January 2024, 10 months ago

Problem/Motivation

Currently this module does not consider deletion of entity translation.
Example: you delete a node with english translation, it gets logged. But delete a translation of a node and don't delete the original english node, it doesn't get logged.

I understand that the current approach of this module does not support that, but with very little code change in the .module file, we can actually achieve it.

Steps to reproduce

  1. Enable Content in the configuration of this module for logging.
  2. Create a node and also create a translation of this node.
  3. Now delete the translation only => It does not appear in log
  4. Now delete the original node => it appears in logs

Proposed resolution

Leverage hook_entity_translation_delete()

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India Supreetam09 Kolkata

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024