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
TaxonomyController::getTitle() is not used, and can be mistaken for TaxonomyController::termTitle()
Proposed resolution
Remove TaxonomyController::getTitle()
Remaining tasks
Remove TaxonomyController::getTitle()
User interface changes
None
API changes
TaxonomyController::getTitle() removed
Data model changes
None
Beta phase evaluation
Issue category | Task because removed code is not currently used |
---|---|
Issue priority | Normal because contrib authors could use the wrong method |
Prioritized changes | The main goal of this issue is removing unused code. |
Disruption | Potentially disruptive for contributed and custom modules because the removed method is public. |
Comment | File | Size | Author |
---|---|---|---|
#9 | 2550105-9.patch | 794 bytes | Eli-T |
#2 | 2550105-2.patch | 842 bytes | Eli-T |
Comments
Comment #2
Eli-TPatch to remove TaxonomyController::getTitle().
Comment #3
Eli-TComment #4
Eli-TComment #5
Eli-TComment #6
dawehnerDo you mind checking whether this is already part of #2350509: Implement auto-route generation for all core entities and convert all of the core entities. ?
Comment #7
DuaelFrAs seen on IRC that patch needs a tiny reroll as the comment juste after getTitle() changed.
Comment #8
Eli-T@dawehner this method is still present after the latest patch from #2350509: Implement auto-route generation for all core entities and convert all of the core entities. is applied (#2350509-186: Implement auto-route generation for all core entities and convert all of the core entities.). So this issue is still relevant.
Comment #9
Eli-TRerolled
Comment #10
DuaelFrThat trailing spaces shouldn't be there but that can be fixed on commit.
Except that, it seems to be OK.
Thank you :)
Comment #11
alexpottYay dead code removed. Fixed whitespace error on commit. Committed 96d8f25 and pushed to 8.0.x. Thanks!