Context Pantheon

Component ID

2073219

Component name

Context Pantheon

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1651

Component created

Component changed

Component body

Provides a Context condition for Pantheon server environment variables.

This means you can react to whether the current instance of your site is local dev, or Pantheon dev/stage/production.

This module works by wrapping the code provided by Pantheon at http://helpdesk.getpantheon.com/customer/portal/articles/708588-working-... in a Context condition in the simplest way possible, it's very lightweight.

Originally intended for use with Contextual Modules to simplify enabling/disabling modules through the deployment and QA process.