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
Usage of router builder in Drupal\Core\Menu\LocalTaskManager was removed in #356399: Optimize the route rebuilding process to rebuild on write but the service is still injected
Proposed resolution
Remove the router builder service from Drupal\Core\Menu\LocalTaskManager
User interface changes
none
API changes
none
Beta phase evaluation
Issue category | Task because we are removing dead code. |
---|---|
Issue priority | Normal because Drupal will work whether or not it is removed. |
Prioritized changes | The main goal of this issue is removing dead code, and should be a prioritized change |
Disruption | Disruptive for any classes that extend LocalTaskManager , which will need to update their constructors. |
Comment | File | Size | Author |
---|---|---|---|
#5 | interdiff.txt | 2.33 KB | willzyx |
#5 | remove_unused-2501355-5.patch | 7.91 KB | willzyx |
#3 | remove_unused-2501355-3.patch | 5.41 KB | willzyx |
#3 | interdiff.txt | 785 bytes | willzyx |
#1 | remove_unused-2501355-1.patch | 4.5 KB | willzyx |
Comments
Comment #1
willzyx CreditAttribution: willzyx commentedComment #3
willzyx CreditAttribution: willzyx commentedRemoved dead code in tests
Comment #5
willzyx CreditAttribution: willzyx commentedRemoved more unused/untested code in tests
Comment #6
willzyx CreditAttribution: willzyx commentedComment #7
dawehnerGood catch!
Comment #8
willzyx CreditAttribution: willzyx commentedAdded beta evaluation
Comment #9
alexpottNice find. Committed 78f0760 and pushed to 8.0.x. Thanks!