This module helps developers see at a glance which Backdrop CMS site environment they are on. It does this by colouring the adminbar; putting the environment name in the adminbar; and putting an indicator in the favicon. It works like Environment Indicator but takes a minimalist approach. There is no configurable interface, just a simple line in settings.php.
Usage
-
Enable the module like any other. The module works with the core Admin Bar module.
-
Enter a line like the example in your settings.php file.
$settings['simple_environment_indicator'] = 'DodgerBlue';
or
$settings['simple_environment_indicator'] = '#1E90FF DEV';
The color name (or hex value) is optionally followed by indicator text.
The text appears in the far left of the menu bar. -
The indicator appears only when the Admin Bar is showing. If the indicator should appear in the favicon even if a user doesn't have access to the Admin Bar, add this line to your settings.php file:
$settings['simple_environment_favicon'] = TRUE;
Settings suggestion
For production
$settings['simple_environment_indicator'] = 'FireBrick PRD';
For staging
$settings['simple_environment_indicator'] = 'GoldenRod STG';
For local development
$settings['simple_environment_indicator'] = 'DodgerBlue DEV';
License
This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.
Maintainers
Originally written for Drupal by