I have a use case where I want to use $config['environment_indicator.switcher.' . $env]['status'] = FALSE; in a settings PHP file, to disable some defined environments conditionally.
Unfortunately, the status property is present in the config YML file but is not taken into account to generate the switch menu. Here's a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| environment_indicator-status_check.patch | 1.39 KB | gaëlg |
Comments
Comment #2
e0ipsoI made some minor modifications.
Comment #4
e0ipsoComment #5
gaëlg:) Thank you for the quick commit!