- Issue created by @devkinetic
- Merge request !28Issue #3380586: Drop support for config overrides and use switcher values β (Open) created by devkinetic
- πΊπΈUnited States devkinetic
Upon further thought, I don't see why we couldn't extend the current environment deriver to be plugin based. We already have the ability to provide at least:
- The current settings.php config, with the addition of adding the machine name to enable permissions
- Simple host name matching
- Regex based host name matching
This would vastly simplify the upgrade path, as the settings.php plugin would be active by default.
After implementation, we would have to take another swing at permissions, to cover existing sites that do not have the machine name in settings.php.
- πΊπΈUnited States devkinetic
I've done some experimentation with converting the current environment code into a plugin system. I'm currently working through the ability to add settings for each implementation of the plugin, for example the patterns for the regex. This is apparently accomplished with
EntityWithPluginCollectionInterface
which is not documented very well.As things stand the issue description stands to be updated.
- First commit to issue fork.