Score:0

Avoid sending email (content moderation) when node updated programatically

cn flag

I have a csv import function which also will have to update the "moderation_state" field. Once csv import is ran, email will be triggered by content_moderation module. Is there a way to disable this when updating nodes programatically?

No Sssweat avatar
ua flag
Core's content moderation module does not provide any e-mail notification functionality. Therefore, you must be using a custom or contrib module for such email notification. It's hard to answer the question without knowing exactly how the e-mail notification was implemented.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.