Problem/Motivation
11 years ago in #2322809: Do not depend on event subscribers for security: Tighten routing security by access checking in matchRequest we removed the use of $this->router and $this->pathProcessor from \Drupal\config_translation\Controller\ConfigTranslationController, but never deprecated or removed these properties.
Steps to reproduce
Proposed resolution
- Remove the properties
- Use
\Drupal\Core\DependencyInjection\DeprecatedServicePropertyTraitto deprecate them - Remove these params from the constructor and update the create method
- Handle the deprecation in the constructor
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3551748
Show commands
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 #2
ritarshi_chakraborty commentedWorking on it.
Comment #4
ritarshi_chakraborty commentedCan anyone please confirm if the test failures are due to the changes that I have made?
Comment #5
smustgrave commentedNot following why deprecated in 11.1.9? It would have to be deprecated in 11.4 at this point.
Comment #6
ritarshi_chakraborty commentedComment #7
smustgrave commentedMR has conflicts