Problem/Motivation
Steps to reproduce
When mail_safety.settings keys are overridden via settings.php (the README-recommended way to enable Mail Safety per environment), the settings form gives no indication unlike core forms (e.g. Performance).
Proposed resolution
Migrate all form elements to #config_target, drop the redundant #default_value loading and the custom submitForm() (handled by the parent via the config-target map).
Remaining tasks
MR to be created.
User interface changes
A message will appear when config is overriden in settings.php.
API changes
None
Data model changes
None
Issue fork mail_safety-3614472
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
tostinni commentedMR Submitted
Comment #5
sjerdoThanks!
I'll update the core version requirement to ^10.2 to make sure we don't break older installations