I'm currently writing a couple of extension modules for subscriptions, and each uses a variable 'field' entry subscriptions.

I'd like to be able to detect the field name as the time of the mailkey_alter hook, so that I can modify the mailkey accordingly. At the moment, I only have the node object available in $arg1 but by adding the full queue item as $arg2, I have access to the field (and potentially other data).

Would you consider this change?

CommentFileSizeAuthor
#1 mailkey_alter.patch955 bytestorrance123

Comments

torrance123’s picture

StatusFileSize
new955 bytes
torrance123’s picture

Status: Active » Needs review
salvis’s picture

Priority: Major » Normal
Status: Needs review » Fixed

Make sense, pushed to the -dev version.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.