Issue #3144354 by alexpott, vijaycs85, andypost: ModuleInstaller loads .module...
Issue #3144354 by alexpott, vijaycs85, andypost: ModuleInstaller loads .module and .install before allowing classes to autoloaded
(cherry picked from commit 1a48485e)
@@ -96,4 +97,19 @@ public function testMultipleModules() {
$this->assertTrue(\Drupal::moduleHandler()->moduleExists('module_install_class_loader_test2'),'The module_install_class_loader_test2 module has been installed.');
}
/**
* Tests that .module files can use class constants in main section.