featureflags_extensions
14 sites
Security covered
Overview
Provides some new functionality for the featureflags module:
- Enable/disable routes depending on featureflag
- Enable/disable permissions depending on featureflag
- Check featureflag status with a twig function
Usage
Routes and permissions can be set in the feature flag settings and will be exported as config.
Featureflag checking in twig works like this:
{% if featureflag_active("demoflag") %}
Flag is active!
{% endif %}
About the versions
For Drupal 10+ install Featureflags extensions version >= 1.1.3
For Drupal 11+ install Featureflags extensions version ^2.0.0