Hide the user account templates configuration under Configuration > People > Account Settings when overridden by Easy Email override

Created on 23 December 2024, 1 day ago

Problem/Motivation

You can override the user-related emails sent by Drupal core using the Easy Email Overrides submodule. When you do that, the templates that are configurable under Configuration > People > Account Settings are no longer used. This could be confusing for site builders, as they may try to change the template there and it would have no effect.

Drupal CMS is shipping with Easy Email overrides for all core templates, so site builders using Drupal CMS wouldn't have created the overrides themselves, making it more likely they would be confused about this.

Steps to reproduce

Install Drupal CMS, which comes with overrides for these emails by default.

Proposed resolution

Add a form alter to hide the templates on this core form when they have been overridden with Easy Email. Include a link to the edit form for the template.

Remaining tasks

Add the form alter code.

User interface changes

No changes to the Easy Email interface, but this will change the Drupal core user email config form.

API changes

None.

Data model changes

None.

πŸ“Œ Task
Status

Active

Version

3.0

Component

Email Overrides

Created by

πŸ‡ΊπŸ‡ΈUnited States zengenuity

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