Hi,

The module configuration page "admin/people/purge-rule" allows us to setup the email which could be sent to the user's email address when his/her account will be deleted. Would like to request use of Token which can be added to the email text

let me know, if this is a good idea so i can roll out a patch for this :)

CommentFileSizeAuthor
#3 use_of_token_module_to-2855799-3.patch1.25 KBvishwac9

Comments

vishwac9 created an issue. See original summary.

jim.applebee’s picture

Yea, that's fine.

vishwac9’s picture

Status: Active » Needs review
StatusFileSize
new1.25 KB

Hi please find attached patch. The code checks if token module exists and is enabled then only adds the support of token module to use in the email field. first i thought of adding the module dependency in info.yml file but later changed it to check runtime if the module exists or not. requesting you to verify the same from your side :)

  • Drupalbee committed 50bbc89 on 8.x-1.x
    Issue #2855799 by vishwac9: Use of Token module to construct the email...
jim.applebee’s picture

Status: Needs review » Fixed
jim.applebee’s picture

Status: Fixed » Closed (fixed)