Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

simplei

1,758 sites Security covered
View on drupal.org

The module works very much like Environment Indicator module with a minimal approach. It requires Drupal core's Toolbar (Drupal 8+) or Admin menu (Drupal 7) modules and changes the color of the Toolbar as you like.

Version 2.x now supports Gin theme and Drupal 10.

It is a simple module that does one thing, to color the Toolbar. It has no configurable user interface. All you need to do is place a line in settings.php such as,

// Drupal 7
$conf['simple_environment_indicator'] = 'DarkRed PRD';

// Drupal 8+
$settings['simple_environment_indicator'] = 'DarkRed PRD';
// or
$settings['simple_environment_indicator'] = '#fff/#666 PRD';
// or
$settings['simple_environment_indicator'] = '@PRD';
// accessible colors with #access
$settings['simple_environment_indicator'] = '@PRD#access';

The web color name(s) or hex value(s) are followed by the environment name. You can specify background color only (foreground is white) or foreground/background colors. If you use @ sign with the environment name, the predetermined color will be used.

Drupal 8+ version supports anonymous users who don't normally have access to Toolbar.

$settings['simple_environment_anonymous'] = TRUE;

If you do not like the default rendering of the environment indicator, you can
set to a string instead of a boolean value, such as,

   $settings['simple_environment_anonymous'] = "body:after { 
     content: \"STAGE\" ;
     position: fixed;
     top: 0;
     left: 0;
     padding: 0.1em 0.5em;
     font-family: monospace;
     font-weight: bold;
     color: #fff;
     background: brown;
     border: 1px solid white; }";

You would not want to display the indicator for anonymous users in production
environment, but nothing will stop you if you have a reason to do so.

Activity

Total releases
2
First release
Jun 2025
Latest release
10 months ago
Release cadence
33 days
Stability
100% stable

Releases

Version Type Release date
3.0.2 Stable Jul 30, 2025
3.0.1 Stable Jun 27, 2025