From Alex in #1608842: Replace list of bootstrap modules, enabled modules, enabled themes, and default theme with config....
+++ b/core/includes/install.inc
@@ -418,20 +409,15 @@ function drupal_install_system() {
+ config('system.module')
+ ->set('system', 0)My first impression reading this was that we were disabling system.module, but what's actually happening here is we're enabling it with a weight of 0. Similarly, looking at the generated system.module.yml file, seeing a bunch of MODULE_NAME: 0 lines doesn't tell me the 0s are weights. Any reason not to change this to set('system.weight', 0)?
Comments
Comment #1
alexpottDoing this would result in a system.module file looking like this:
Perhaps we can improve the comment here to explain what is going on. But I'm inclined to won't fix.