Skip to content

Environment Context Config Split

Makes every Config Split an environment of Environment Context. A platform that already keeps a split per environment, like local, stage and production, gets the same environments for its site settings without a second list.

Install

Ships with Environment Context; with that project in the codebase:

drush en environment_context_config_split

Requires config_split (config_split), Environment Context.

Configure

Nothing of its own: each split's machine name and label become an environment. Add or rename environments in Config Split; the Environments tabs of a site's settings follow (Environments). Each server still names its environment in settings.php, with the machine name of its split.

Last updated 2026-10-16

Used in