-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from omarlopesino/feature/recipes-support
Allow aljibe-installed sites to be able to install recipes
- Loading branch information
Showing
4 changed files
with
67 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/core/lib/Drupal/Core/Recipe/RecipeCommand.php b/core/lib/Drupal/Core/Recipe/RecipeCommand.php | ||
index 3040e40960..6d6f496ada 100644 | ||
--- a/core/lib/Drupal/Core/Recipe/RecipeCommand.php | ||
+++ b/core/lib/Drupal/Core/Recipe/RecipeCommand.php | ||
@@ -192,7 +192,7 @@ private function rollBackToCheckpoint(Checkpoint $checkpoint): void { | ||
* Exception thrown if kernel does not boot. | ||
*/ | ||
protected function boot() { | ||
- $kernel = new DrupalKernel('prod', $this->classLoader); | ||
+ $kernel = new DrupalKernel('prod', $this->classLoader, FALSE); | ||
$kernel::bootEnvironment(); | ||
$kernel->setSitePath($this->getSitePath()); | ||
Settings::initialize($kernel->getAppRoot(), $kernel->getSitePath(), $this->classLoader); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php b/core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php | ||
index 1c08700dc69109ee3d9d6a3cfdbd2227b07cef34..93b7419d93fe718b711fabf2b12d785cb57b3e7c 100644 | ||
--- a/core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php | ||
+++ b/core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php | ||
@@ -162,6 +162,8 @@ public function addStreamWrapper($service_id, $class, $scheme) { | ||
'type' => $class::getType(), | ||
'service_id' => $service_id, | ||
]; | ||
+ | ||
+ $this->registerWrapper($scheme, $class, $class::getType()); | ||
} | ||
|
||
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters