[FEATURE] Introduce Feature Toggles 29/54529/7
authorBenni Mack <benni@typo3.org>
Thu, 2 Nov 2017 10:46:40 +0000 (11:46 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Thu, 28 Dec 2017 07:39:10 +0000 (08:39 +0100)
commit531be24a96726849402bfe2e9edc04730e9c96d8
tree246d224b05f8e8a71202bef5cffc19de8d8607f4
parent1af849b6955dfb63443304db056d529b426b63df
[FEATURE] Introduce Feature Toggles

A new API class "Features" allows to check if a feature is enabled/disabled
for a certain installation.

This API method can be used to have admins switch to new features explicitly
or disable legacy functionality.

Examples for using the feature toggles in the future:
- Do not load TCA for pages_language_overlay after DB migration
- Do not parse HTML for legacy <link> tag anymore
- Explicitly enable new Logging API in DataHandler (skipping sys_log calls)

Resolves: #83429
Releases: master
Change-Id: I5da8f66e593e311c83fefe5fe9edb503a885943b
Reviewed-on: https://review.typo3.org/54529
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/core/Classes/Configuration/ConfigurationManager.php
typo3/sysext/core/Classes/Configuration/Features.php [new file with mode: 0644]
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Documentation/Changelog/master/Feature-83429-FeatureToggles.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Configuration/FeaturesTest.php [new file with mode: 0644]