Problem/Motivation
LanguageEditForm does not display a status message after saving, unlike LanguageAddForm which shows a confirmation message.
Steps to reproduce
Edit any language at /admin/config/regional/language/edit/{langcode}
Save - no status message appears
Proposed resolution
Add messenger()->addStatus() in LanguageEditForm::save().
Remaining tasks
Review and commit.
User interface changes
Status message "The language %language has been updated." shown after saving.
API changes
N/A
Data model changes
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Screenshot 2026-03-08 at 2.06.36 PM.png | 152.21 KB | smustgrave |
Issue fork drupal-3577711
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
baikho commentedComment #5
smustgrave commentedChange seems small enough don't think we need test coverage. Manually testing by editing an existing language
And I get the message.
Comment #6
sivaji_ganesh_jojodae commentedI've added comments in MR related to minor code formatting improvements.
Comment #7
smustgrave commentedFYI the formatting change introduced was unnecessary for arrays that size per the comments in the threads
Comment #8
longwaveLet's not make unnecessary formatting changes, fixes should be scoped as tightly as possible - there is no need to restructure the entire method here.
Comment #9
smustgrave commentedReverted the last commit.
Comment #13
larowlanCommitted to main and backported to 11.x
We can't backport this to 11.3.x because there are string changes.
Thanks!