Override instructions in README.md seem incorrect

Created on 7 May 2025, 18 days ago

Problem/Motivation

Behavior seems inconsistent with the instructions in README.md on overriding configuration in settings.php. With the settings below I would expect Drupal not to display a message on screen, and to insert a notice into the body of rerouted emails, but the opposite seems to be happening for me:

// Force enable/disable displaying a Drupal status message when the mail is
// being rerouted.
$config['reroute_email.settings']['description'] = FALSE;

// Force enable/disable inserting a message into the email body when the mail
// is being rerouted.
$config['reroute_email.settings']['message'] = TRUE;

Proposed resolution

I think the simplest fix would be to edit README.md as follows:

// Force enable/disable displaying a Drupal status message when the mail is
// being rerouted.
$config['reroute_email.settings']['message'] = FALSE;

// Force enable/disable inserting a message into the email body when the mail
// is being rerouted.
$config['reroute_email.settings']['description'] = TRUE;
πŸ› Bug report
Status

Active

Version

2.3

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States jmcintyre

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

Comments & Activities

Production build 0.71.5 2024