Skip to content

Commit 22b4d07

Browse files
authored
Update Bootstrap.php (#52)
1 parent 1ab67d8 commit 22b4d07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Drupal/Bootstrap.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ public function register(): void
9595
$module_dir = $this->drupalRoot . '/' . $extension->getPath();
9696
// Add .install
9797
if (file_exists($module_dir . '/' . $module_name . '.install')) {
98-
require $module_dir . '/' . $module_name . '.install';
98+
// Causes errors on Drupal container not initialized
99+
// require $module_dir . '/' . $module_name . '.install';
99100
}
100101
// Add .post_update.php
101102
if (file_exists($module_dir . '/' . $module_name . '.post_update.php')) {

0 commit comments

Comments
 (0)