Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The Local Tasks and Many of the Links Throughout the Layout Builder UI Use Title Case
Proposed resolution
They should not.
Remaining tasks
Fix it
User interface changes
Yes
API changes
N/A
Data model changes
N/A
Release notes snippet
N/A
Comment | File | Size | Author |
---|---|---|---|
#15 | 3018073-titlecase-15.patch | 46.44 KB | tim.plunkett |
#12 | 3018073-titlecase-12.patch | 44.39 KB | mark_fullmer |
#12 | 3018073-titlecase-12.interdiff.txt | 1.46 KB | mark_fullmer |
#9 | diff_6-9.txt | 9.27 KB | kostyashupenko |
#9 | 3018073-titlecase-9.patch | 43.09 KB | kostyashupenko |
Comments
Comment #2
tim.plunkettNote that Mink is case-sensitive, so all of the
clickLink()
calls in the tests will also have to be updated.Comment #4
tim.plunkettComment #6
tim.plunkettForgot about CM
Comment #7
johnwebdev CreditAttribution: johnwebdev commentedComment #8
johnwebdev CreditAttribution: johnwebdev commentedWoops. I was too fast on the status, I actually meant to set this to NW.
Comment #9
kostyashupenkoRerolled & patch updated
Comment #10
johnwebdev CreditAttribution: johnwebdev commentedUsing
['"][A-Z][a-z]+ [A-Z][a-z]+['"]
I found some occurrences left:MoveBlockForm.php:152
Element/LayoutBuilder.php:362
Other than that, I think this looks good.
Comment #11
tim.plunkettTagging
Comment #12
mark_fullmerAttached is a patch and interdiff including the 2 changes identified in #10.
Comment #13
JacobSanfordWorking on now at Drupalcon
Comment #14
JacobSanfordThanks for the contributions. I have reviewed the patch and the only title case usage inside layout builder that remains is where appropriate/ignored:
Setting to RTBC
Comment #15
tim.plunkettReroll.
Comment #17
xjmI Reviewed This With
git diff --color-words
and Confirmed Each Change Is Correct. There Are Four Labels Fixed:I Did a Case-Sensitive Grep for All
ThreeFour and Confirmed There Are No Remaining Title-Case Instances.Committed and Pushed to 8.8.x. Thanks!
I Did Not Backport This to 8.7.x Because Strings Are Frozen During RC.