Epic #84044: Admin Panel Rework
Initialize AdminPanel only if it is enabled
The admin panel is currently initialized as soon as any module is configured to be shown - even if the panel is disabled by user settings.
[BUGFIX] Initialize AdminPanel only if enabled by user
The admin panel can be disabled via the frontend UI by
click. When the admin panel is disabled the initialize
methods should not be called. This has been fixed.
Tested-by: TYPO3com <email@example.com>
Reviewed-by: Wouter Wolters <firstname.lastname@example.org>
Reviewed-by: Benni Mack <email@example.com>
Tested-by: Benni Mack <firstname.lastname@example.org>
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>