Below is a patch to add the ability to reference a version number from a file in a sites directory.

You simple include a version file in sites/*** and environment indicator will then read it in.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikebell_’s picture

Here is said patch against the latest version of environment indicator.

e0ipso’s picture

Status: Active » Postponed

This is a rather specific feature. I would prefer if it could be implemented in a custom module using:

function hook_environment_indicator_matched_indicator_alter(&$environment_info) {
  …
}
mikebell_’s picture

Status: Postponed » Closed (works as designed)

This can be closed, I've just pushed https://www.drupal.org/project/environment_indicator_file as an addon module.