drupal-eca-recipe/eca_lib_0017

Send notification including revision log message for node changes

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Type:drupal-recipe

dev-main 2024-08-07 10:59 UTC

This package is auto-updated.

Last update: 2024-11-07 11:26:25 UTC


README

ID: eca_lib_0017

This model sends an email when any node got updated. That email contains a couple of tokens, e.g. the name of the user who edited the node and the link to the node. It also contains the the revision log message that the user has left in the edit form.

As the author may skip the revision log, this model also makes that field required.

The creation of that model has been recorded and there have actually some unexpected difficulties, that you can watch live, how they got resolved: Watch the video

In version 2 of this model, we've added content moderation functionality and a section field for a wiki page content type, such that email notifications get sent to different recipients depending on state and section of the updated node.

The creation of this model's enhancement has also been recorded: Watch the second video

Installation

composer require drupal-eca-recipe/eca_lib_0017
cd web && php core/scripts/drupal recipe ../vendor/drupal-eca-recipe/eca_lib_0017