- Issue created by @robpowell
- @robpowell opened merge request.
- πΊπΈUnited States robpowell Boston
I've gone ahead and created a submodule, environment_indicator_block. If the maintainers rather this as a separate module please let me know.
One outstanding question, I am managing my indicator values through hardcoding them in the settings file:
# Site environment $config['environment_indicator.indicator']['name'] = 'LOCAL'; $config['environment_indicator.indicator']['bg_color'] = '#8A1350'; $config['environment_indicator.indicator']['fg_color'] = '#FFFFFF';
For my setup, it doesn't seem like I need to add any cacheable metadata to the block because it will require a cache rebuild to get the overrides, right? What would be a good way to future proof it a bit?
Here are some screenshots of the block in action
- Status changed to Needs review
over 2 years ago 6:20pm 27 February 2023 - Status changed to Closed: outdated
9 days ago 8:35pm 26 June 2025 - π¨π¦Canada colan Toronto π¨π¦
There are permissions for each environment now, and you can turn off the toolbar feature (so it show up by itself).