Needs work
Project:
Drupal core
Version:
main
Component:
theme system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2026 at 17:37 UTC
Updated:
29 Sep 2026 at 13:43 UTC
Jump to comment: Most recent
ThemeNegotiator injects the class resolver and the service IDs of all theme negotiators, then loops over the services in turn.
A tagged iterator provides the same capability without needing the class resolver.
Replace the class resolver and service_id_collector tag with a tagged iterator.
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
longwaveI don't think this requires BC, I don't see why you would override this service, but happy to try to add some if someone deems it necessary.
Comment #5
smustgrave commentedThink @nicxvan comments makes sense. Not 100% about the autowiring the iterators but comment cleanup and constructor promotion seem doable right?