Problem/Motivation
Follow-up to #3151019: Only allow route names, deprecate support for route objects in UrlGenerator methods
There's few deprecated methods left and it needs add native string type to $name variable
Proposed resolution
Clean-up deprecattions from:
- #3151017: Deprecate UrlGenerator::supports() and UrlGenerator::getRouteDebugMessage()
- #3151019: Only allow route names, deprecate support for route objects in UrlGenerator methods
Add string type to $name argument of \Drupal\Core\Routing\UrlGeneratorInterface
Remaining tasks
- wait 11.0.x is open to remove deprecations
- patch&review&commit
Comments
Comment #2
andypostComment #3
catchComment #4
catchComment #5
andypostas 10.3 splitted
Comment #6
quietone commentedI am moving the removal to a separate issue so the version for when this was fixed will match the most recent related commit and to parent the removal to the D11 meta issue for removals.
Cheers