[FEATURE] Add PSR-14 Event to blind configuration options
This introduces the new PSR-14 ModifyBlindedConfigurationOptionsEvent, which allows to blind any (global) configuration option, before being displayed in the configuration module. The new Event is a direct replacement for the now deprecated hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['TYPO3\CMS\Lowlevel\Controller\ConfigurationController']['modifyBlindedConfigurationOptions']. Resolves: #99717 Releases: main Change-Id: I8fe34e47400b1fc5530c11f8377ecb69b78658e5 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77606 Reviewed-by:Benni Mack <benni@typo3.org> Reviewed-by:
Eric Chavaillaz <eric.chavaillaz@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Eric Chavaillaz <eric.chavaillaz@gmail.com>
Showing
- typo3/sysext/core/Documentation/Changelog/12.2/Deprecation-99717-DeprecatedModifyBlindedConfigurationOptionsHook.rst 38 additions, 0 deletions...99717-DeprecatedModifyBlindedConfigurationOptionsHook.rst
- typo3/sysext/core/Documentation/Changelog/12.2/Feature-99717-NewPSR-14ModifyBlindedConfigurationOptionsEvent.rst 64 additions, 0 deletions...99717-NewPSR-14ModifyBlindedConfigurationOptionsEvent.rst
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ArrayDimensionMatcher.php 6 additions, 0 deletions...figuration/ExtensionScanner/Php/ArrayDimensionMatcher.php
- typo3/sysext/lowlevel/Classes/ConfigurationModuleProvider/GlobalVariableProvider.php 9 additions, 9 deletions...es/ConfigurationModuleProvider/GlobalVariableProvider.php
- typo3/sysext/lowlevel/Classes/Event/ModifyBlindedConfigurationOptionsEvent.php 39 additions, 0 deletions.../Classes/Event/ModifyBlindedConfigurationOptionsEvent.php
- typo3/sysext/lowlevel/Classes/HookProvider/ModifyBlindedConfigurationOptionsHookProvider.php 51 additions, 0 deletions...rovider/ModifyBlindedConfigurationOptionsHookProvider.php
- typo3/sysext/lowlevel/Configuration/Services.yaml 3 additions, 0 deletionstypo3/sysext/lowlevel/Configuration/Services.yaml
- typo3/sysext/lowlevel/Tests/Functional/ConfigurationModuleProvider/GlobalVariableProviderTest.php 69 additions, 0 deletions...onfigurationModuleProvider/GlobalVariableProviderTest.php
- typo3/sysext/lowlevel/Tests/Unit/Event/ModifyBlindedConfigurationOptionsEventTest.php 37 additions, 0 deletions...Unit/Event/ModifyBlindedConfigurationOptionsEventTest.php
Please register or sign in to comment