Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I create a message type for comment action with 2 reference entity (field_message_comment & field_message_content), the problem is if the comment is deleted, the message will not be deleted automatically, the message is still there with the token like [message:field-message-comment:body].
Comments
Comment #1
Andre-Byou will have to add a rule/ hook that deletes associated messages of the entity beeing deleted, this is not covered by default.