- Issue created by @catch
- 🇨🇭Switzerland berdir Switzerland
This honestly seems a bit confusing.
What about adding a requirements check that warns about this? We also have sensor for this in the monitoring project, because sometimes people change the setting in sites/default/services.yml and accidentally commit it. A requirements check would help with both.
- 🇬🇧United Kingdom catch
A requirements check could work with ✨ Add a Production/Development Toggle To Core Needs work , it will be harder for the current implementation because it would need to check multiple different key/value keys and that list could potentially keep expanding - not impossible just a bit messy.
- 🇨🇭Switzerland berdir Switzerland
It doesn't need to check key value at all, it just needs to check the container parameters. It doesn't matter if they are set through key value or a customized services file.
See https://git.drupalcode.org/project/monitoring/-/blob/8.x-1.x/src/Plugin/...
- 🇬🇧United Kingdom catch
Hmm OK but we'd need to check each parameter then, however I guess we kind of have to because we might want individual messages for each.
I guess what development mode would allow then is to suppress all of those individual messages for things toggled by dev mode, but replace them with a general development mode warning instead or something.
Retitling based on that.