Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
contextual.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2026 at 17:38 UTC
Updated:
15 Feb 2026 at 00:24 UTC
Jump to comment: Most recent
Comments
Comment #3
claudiu.cristeaReady for review.
Comment #4
dcam commentedThe MR looks good to me, as does the change record. I wondered if the controller needed the backward compatibility, but @longwave requested it in #3398528: Add support for autowiring to controller methods, so it's probably a good idea.
Comment #5
nicxvan commentedComment #6
nicxvan commentedI updated the issue summary.
I think this looks great but one question that I know will come up is these functions were not api before but are with this change.
Should we mark the service as internal?
I think it's fine to keep contained in a small service since it's used in two places.
Comment #7
larowlanJust one minor question, feel free to self RTBC/reject
Comment #8
claudiu.cristeaInjected the service.
Comment #12
larowlanCommitted to main and backported to 11.x - thanks!