Problem/Motivation
This module is essentially a 5ish-liner:
https://git.drupalcode.org/project/profile_switcher/-/blob/8.x-1.x/src/P...
...that updates config AND state.
So switching on an integration server and then deploying config might not give the expected result, as state is not updated thus in an inconsistent state.
So currently we have to
* Install PS
* Deploy
* Run PS on integration AND live
* Commit config on integration
* Uninstall PS
* Deploy
* Remove PS
That's a pity.
Proposed resolution
a) Make a drush command that
* does the config changes on the integration server
* AND scaffolds an update hook that updates state on live
or b)
* do the config changes on the integration server
* have a config listener on live that updates state when profiles are switched
Comments
Comment #2
geek-merlin