Issue Feature Closed

#104020add new feature toggle viewhelper

Christian Rath-Ulrich 06/10/24, 14:09 updated 07/04/24, 13:16

Description

to respect the typo3 feature toggles https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/Configuration/FeatureToggles.html

as example if you have an env variable TYPO3__SYS__features__mySuperFeature=%const(bool:true)%

you should be able to use somthing like:

<f:if condition="{f:featureFlag(featureKey: 'mySuperFeature')}"><br> <!-- Feature-specific content goes here --><br></f:if>

Reviews 1