We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ab67d8 commit 22b4d07Copy full SHA for 22b4d07
src/Drupal/Bootstrap.php
@@ -95,7 +95,8 @@ public function register(): void
95
$module_dir = $this->drupalRoot . '/' . $extension->getPath();
96
// Add .install
97
if (file_exists($module_dir . '/' . $module_name . '.install')) {
98
- require $module_dir . '/' . $module_name . '.install';
+ // Causes errors on Drupal container not initialized
99
+ // require $module_dir . '/' . $module_name . '.install';
100
}
101
// Add .post_update.php
102
if (file_exists($module_dir . '/' . $module_name . '.post_update.php')) {
0 commit comments