Problem/Motivation

There is no way to get the entities that were referenced for the mail in hook_mail_alter.

Proposed resolution

Add comment ID (cid) to the message parameters array so be able to load the referenced comment.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

id.rem.dev created an issue. See original summary.

id.rem.dev’s picture

Status: Active » Needs review
silvi.addweb’s picture

Status: Needs review » Reviewed & tested by the community

I've tested and it's working fine.