Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
system.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2026 at 01:34 UTC
Updated:
19 May 2026 at 03:40 UTC
Jump to comment: Most recent
Comments
Comment #3
mstrelan commentedConverted 19 routes in 2 classes. This feels like a good scope to get started, and I've posted a few comments and questions on the MR to highlight some of the quirks.
Comment #4
mstrelan commentedComment #5
mstrelan commentedConverted a few more
Comment #6
dcam commentedI'm sorry I didn't finish the review last night before I went to bed.
My thoughts on reviewing this are:
These are really simple to review. They might make good Novice reviewer issues. Unless I've missed something important, then it's just a matter of comparing the new attribute to the old YAML route definition, then checking that it still works.
I'm comfortable with the current scope or continuing to add more. Personally, I would add in the other four classes noted as potentially being in-scope in the issue summary. Make it a nice, round 10 classes. I often tried to hit that mark when doing the mock object updates earlier in the year. @smustgrave might feel differently after all of those that he reviewed. But from my personal perspective this issue is way easier to understand than the mock object problems.
I'm going to set it to RTBC, but if you want to add more classes then I'll come back and check those too.
Comment #7
mstrelan commentedI think we should split off the remaining four classes as they seem harder to test and most have more requirements and options. They are not routes that you can simply hit in your browser, or access via one click, like those in ThemeController.
Comment #8
dcam commentedThat sounds reasonable to me.
Comment #9
mstrelan commentedOpened #3585079: Convert remaining system module routes to use attributes for the split
Comment #10
catchOne comment on the MR.
Comment #11
mstrelan commentedFair comments, have adjusted and pipeline is green.
Comment #12
godotislatelgtm
Comment #14
catchCommitted/pushed to main, thanks!
This needs a backport MR for 11.x
Comment #17
mstrelan commentedCherry-picked and resolved conflicts in SystemController
Comment #18
smustgrave commentedGoing off of https://git.drupalcode.org/project/drupal/-/commit/548722a899bad106ba420... looks like a good backport.
Comment #20
godotislateThere was a merge conflict in the 11.x MR with use statements in SystemController. Since it was just 1 line, I manually resolved.
Committed f2b26b6 and pushed to 11.x. Thanks!
Comment #23
godotislate