fullfatthings / notify_entity

Drupal 8 - Notification on entity events
2 stars 3 forks source link

Added publication status as option #2

Open bjaxelsen opened 8 years ago

bjaxelsen commented 8 years ago

I need a webmaster to be able to receive notification of draft content (handled by Workbench Moderation) but not to receive notifications about new content from other colleagues. For this reason, I added in the posibility to specify a publication state (published / unpublished) condition for comment and node entity types.

stewsnooze commented 8 years ago

hi @bjaxelsen we just added something similar to the version of this that is not yet pushed to github but your code looks interesting. Let me dig out the stuff we added here and we'll get this in somehow.

bjaxelsen commented 8 years ago

Sounds good. It was just a quick-and-dirty approach the way I did it, there may well be a better way. I just need to be able to push notifications regarding draft content. Initially, I tried to do it using rules, but the rules UI is not quite production ready, I think - at least I couldn't make it work.

stewsnooze commented 4 years ago

@njt1982 status of this now?