Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Analogous to #1349000: Provide option to automatically generate a color based on text, it would be great to have the option to have part of the hostname as environment indicator name.
I think a simple regular expression will serve most needs.
Comments
Comment #1
geek-merlinFYI, here's my settings.php snippet that takes the first part of the url.
Comment #2
e0ipsoVersion for D7 is unmaintained. I am sorry for the inconvenience.