Libraries tagged by eca

drupal-eca-recipe/eca_lib_0032

0 Favers
65 Downloads

Consumes a remote API through the HTTP Client Manager module, then exposes an ECA endpoint of its own with access control and a composed response.

Go to Download


drupal-eca-recipe/eca_lib_0031

0 Favers
107 Downloads

Reads a date value from a node field and demonstrates the tamper actions that reformat it, shift it by a fixed time range and render it in another time zone.

Go to Download


drupal-eca-recipe/eca_lib_0030

0 Favers
63 Downloads

Creates a content entity from a JSON string, and shows why the straightforward approach does not work for user entities.

Go to Download


drupal-eca-recipe/eca_lib_0029

0 Favers
135 Downloads

Adds a role to a user on insert or update, comparing three possible approaches and showing why only one of them is reliable.

Go to Download


drupal-eca-recipe/eca_lib_0028

0 Favers
78 Downloads

Reads form field values during validation and submission, showing how to find the right token syntax for each field type and how building a temporary entity offers a clearer alternative.

Go to Download


drupal-eca-recipe/eca_lib_0027

0 Favers
51 Downloads

Appends a comment to a node author's own user entity whenever they create or update a node.

Go to Download


drupal-eca-recipe/eca_lib_0026

0 Favers
94 Downloads

Adds a role to a user once three stored conditions are all met, and removes it again as soon as any of them stops being true.

Go to Download


drupal-eca-recipe/eca_lib_0025

0 Favers
282 Downloads

Emails a newly registered user with the values they entered during registration, varying the message depending on whether an optional field was filled in.

Go to Download


drupal-eca-recipe/eca_lib_0024

0 Favers
487 Downloads

Emails every user holding a given role, using a view with a contextual filter to select the recipients.

Go to Download


drupal-eca-recipe/eca_lib_0021

0 Favers
61 Downloads

Responds to events such as logins, registrations, error messages and new comments by sending notifications to email, Mattermost and Alerta.

Go to Download


drupal-eca-recipe/eca_lib_0020

0 Favers
114 Downloads

Creates an article node whenever a page node is created, building the new title from the page author's name and the page title.

Go to Download


drupal-eca-recipe/eca_lib_0019

0 Favers
157 Downloads

Shows how to drive Views Bulk Operations from a Views listing with ECA.

Go to Download


drupal-eca-recipe/eca_lib_0018

0 Favers
65 Downloads

Keeps a user field and a profile field in sync in both directions, writing to the other entity only when the values actually differ so the updates cannot loop forever.

Go to Download


drupal-eca-recipe/eca_lib_0017

0 Favers
280 Downloads

Sends an email whenever a node is updated, including the revision log message, which the model also makes a required field. A later version routes the notifications to different recipients depending on moderation state and section.

Go to Download


drupal-eca-recipe/eca_lib_0016

0 Favers
63 Downloads

Offers an access-controlled endpoint that queues a user export, runs the view on the next cron run, writes a CSV file and emails the requester a download link.

Go to Download


<< Previous Next >>