- 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
about 2 years ago 6:20pm 27 February 2023