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
ThemeLocalTask receives two parameters, a config factory and a theme handler. The only use of the config factory is to get the system default theme, but the theme handler already has a method that does this.
Proposed resolution
Remove the config factory, use ThemeHandler::getDefault() instead.
Remaining tasks
Needs review.
User interface changes
None.
API changes
Removed parameter from a constructor that is never directly called.
Data model changes
None.
Beta phase evaluation
Issue category | Task, because it is a small cleanup |
---|---|
Issue priority | Normal, because the impact is not that high. |
Disruption | No disruption |
Comment | File | Size | Author |
---|---|---|---|
#2 | 2549127-2.patch | 2.27 KB | MattA |
Comments
Comment #2
MattA CreditAttribution: MattA commentedComment #3
dawehner+1
Comment #4
alexpottLess dependencies makes sense. Committed eee99e2 and pushed to 8.0.x. Thanks!