Closed (fixed)
Project:
Drupal core
Version:
11.3.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2026 at 15:30 UTC
Updated:
9 Jun 2026 at 08:50 UTC
Jump to comment: Most recent
In #3346394: Replace BlockContentController::add with EntityController::addPage via the AdminHtmlRouteProvider route provider the $requestStack was made a parameter just for the BC coverage. We can just use \Drupal
Remove parameter
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 #3
smustgrave commentedComment #4
dcam commentedSince this didn't go into 11.3 we're good as far as BC goes, right? And we'll just remove the change record, https://www.drupal.org/node/3546628?
Comment #5
smustgrave commentedSo the CR is still valid for that function. we just don’t need to dependency inject the service for BC coverage.
Comment #6
dcam commentedSorry. That's what I get for not reading carefully. I assumed the CR was for the addition to the
EntityControllerconstructor. I read through the comments on #3346394: Replace BlockContentController::add with EntityController::addPage via the AdminHtmlRouteProvider route provider. The BC and a CR was deemed unnecessary because Controllers aren't covered by BC. So this removal doesn't need one either. LGTM.Comment #9
catchCommitted/pushed to main and 11.x, thanks!
Comment #13
bbralaThis needs backpirting to 11.3 i think. That is the only 11 version now with the constructor change. See https://drupal.slack.com/archives/C079NQPQUEN/p1779463657408219?thread_t...
Comment #14
bbralaComment #16
catchCherry-picked to 11.3.x, thanks!
Comment #18
bbralaty!