Add update hook to update email body

Created on 6 June 2025, 21 days ago

Problem/Motivation

Previous changes change from appending the URL to the email body, to using a token replacement. To help existing sites to adapt, we should add an update hook to append the token the email body field.

Steps to reproduce

See parent.

Proposed resolution

An update hook should read all verify email entities, update the email_body field, appending the new token to it, and save the updated entity.

Remaining tasks

  1. In the verify_email.module file, add a new hook function, based on verify_email_update_10001.
  2. Like the previous update hook, it should load the verify_email entities, and loop through them.
  3. For each entity, it should load the email_body field, and append "\n\n[verify-email:url], then save the entity.

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Active

Version

1.1

Component

Code

Created by

🇮🇪Ireland lostcarpark

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024