Bothand require configuration to install from the staging directory during module installation instead of from a module's config directory.
The easiest way to achieve this will be to refactor the
config_install_default_config() into a
ConfigInstaller service to handle the task. The refactor does not make the source storage injectable or settable as the two issues above should explore how best to do this. It just makes it possible.
The procedural function is removed because it was added in the 8.x cycle so deprecating makes little sense.
It does not handle injection into the module handler as this class currently makes heavy use of \Drupal and doing this in this refactor is likely to blow up in very interesting ways.
User interface changes
PASSED: [[SimpleTest]]: [MySQL] 59,558 pass(es). View
FAILED: [[SimpleTest]]: [MySQL] Setup environment: Test cancelled by admin prior to completion. View
PASSED: [[SimpleTest]]: [MySQL] 59,449 pass(es). View