Epic #84272: Use PSR-7 ServerRequestInterface in backend controllers
Decouple TreeController from UserSettingsController
Updated by Saskia Schreiber over 3 years ago
- Subject changed from Use ServerRequestInterface in UserSettingsController to Refactor UserSettingsController to use a separate registry for user settings
The class UserSettingsController is currently a mixture of an ajax entry point and a registry for user related settings.
It provides an additional public method process() which is used inside the TreeController (to check for expanded pages).
This should be avoided as controllers should only provide proper actions as entry points.
Therefore there should be another class providing the settings for both UserSettingsController and TreeController.