- Issue created by @spiderman
- First commit to issue fork.
- Merge request !49Issue #3519479: Deprecate the constructors in BlocksController, TaxonomiesController, and MenuLinksController → (Open) created by mparker17
In ✨ Deprecate passing extra parameters to __construct() to prepare for 3.0.x Active , we deprecated passing extra parameters to the constructors for MenuLinksController, BlocksSyncForm, MenusSyncForm, and TaxonomiesSyncForm, in order to better maintain backwards compatibility by avoiding ongoing changes to constructor properties.
We would like to extend this a step further, and deprecate the constructors themselves in MenuLinksController, BlocksController, and TaxonomiesController. By being consistent about how we refer to $this->config, and $this->entityTypeManager, we could get rid of the rest of the code in those controllers
Deprecate the constructors in the three controllers, now that they no longer need any arguments, and dependency injection is handled by the create()
method.
None.
None.
None.
Active
2.0
Code