Part of the Token ecosystem · 22 projects
This module makes environment variables available as tokens within Drupal. You can use these tokens to dynamically insert the value of an environment variable into various parts of your site.
Environment for tokens
Provides tokens for environment variables.
It allows to define environment variables that will be available as tokens, using the following syntax: env:[ENV_VAR_NAME]. Those tokens will then be replaced by the Token Service.
Drupal 7
There is a Drupal 7 compatible module called token_env.
Ask your assistant about Environment for tokens
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.
More in the Token ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 8.x-1.2 | Stable | 8–11 | Aug 21, 2026 |