This module allows you to easily check the status of feature flags directly within your Twig templates. You can use the `featureIsEnabled` function to conditionally display content based on whether a specific feature is enabled.
Integrates the Feature Toggle module with Twig templates to easily check whether a feature flag is enabled.
Usage
{% if featureIsEnabled('foo') %}
{# ... #}
{% endif %}
Ask your assistant about Feature Toggle Twig
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
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.x-dev | Dev | 10 | Dec 7, 2023 |