[!!!][FEATURE] Automatically register toolbar items as container services
Toolbar items are now automatically tagged and registered, based on the implemented `ToolbarItemInterface`, using the autoconfiguration feature from the DI container. The registration via `$GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems']` has been removed. Resolves: #96041 Related: #62928 Releases: master Change-Id: Ic3d84752f30444d5a6be67ecbfe39e525c68e9ac Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72241 Tested-by:Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
Showing
- typo3/sysext/backend/Classes/Controller/BackendController.php 6 additions, 36 deletions...3/sysext/backend/Classes/Controller/BackendController.php
- typo3/sysext/backend/Classes/Toolbar/ToolbarItemsRegistry.php 58 additions, 0 deletions...3/sysext/backend/Classes/Toolbar/ToolbarItemsRegistry.php
- typo3/sysext/backend/Configuration/Services.php 2 additions, 0 deletionstypo3/sysext/backend/Configuration/Services.php
- typo3/sysext/backend/Configuration/Services.yaml 4 additions, 0 deletionstypo3/sysext/backend/Configuration/Services.yaml
- typo3/sysext/backend/ext_localconf.php 0 additions, 13 deletionstypo3/sysext/backend/ext_localconf.php
- typo3/sysext/core/Configuration/DefaultConfiguration.php 0 additions, 1 deletiontypo3/sysext/core/Configuration/DefaultConfiguration.php
- typo3/sysext/core/Documentation/Changelog/12.0/Breaking-96041-ToolbarItemsRegisterByTag.rst 45 additions, 0 deletions...angelog/12.0/Breaking-96041-ToolbarItemsRegisterByTag.rst
- typo3/sysext/core/Documentation/Changelog/12.0/Feature-96041-ImproveBackendToolbarRegistration.rst 32 additions, 0 deletions.../12.0/Feature-96041-ImproveBackendToolbarRegistration.rst
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ArrayDimensionMatcher.php 5 additions, 0 deletions...figuration/ExtensionScanner/Php/ArrayDimensionMatcher.php
- typo3/sysext/opendocs/Classes/Service/OpenDocumentService.php 2 additions, 0 deletions...3/sysext/opendocs/Classes/Service/OpenDocumentService.php
- typo3/sysext/opendocs/Tests/Unit/Service/OpenDocumentServiceTest.php 1 addition, 0 deletions...t/opendocs/Tests/Unit/Service/OpenDocumentServiceTest.php
- typo3/sysext/opendocs/ext_localconf.php 0 additions, 1 deletiontypo3/sysext/opendocs/ext_localconf.php
- typo3/sysext/workspaces/ext_localconf.php 0 additions, 3 deletionstypo3/sysext/workspaces/ext_localconf.php
Please register or sign in to comment