This module extends the functionality of the featureflags module by allowing you to enable or disable routes and permissions based on feature flags. It also provides a Twig function to easily check the status of a feature flag within your templates.
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
Ask your assistant about Featureflags extensions
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- featureflags Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.