Skip to content
Snippets Groups Projects
Commit 430c5811 authored by jurgenhaas's avatar jurgenhaas
Browse files

Add patch to project_browser

parent ff342748
No related branches found
No related tags found
1 merge request!362Merging develop into main
Pipeline #1363423 passed
......@@ -40,7 +40,7 @@
"DDQG-unsupported-drupal-openid_connect-3.0.0.0-alpha3",
"DDQG-unsupported-drupal-peertube-2.0.0.0-beta2",
"DDQG-unsupported-drupal-phone_number-2.0.0.0-alpha7",
"DDQG-unsupported-drupal-project_browser-2.0.0.0-alpha4",
"DDQG-unsupported-drupal-project_browser-2.0.0.0-alpha5",
"DDQG-unsupported-drupal-reader-1.0.0.0-beta2",
"DDQG-unsupported-drupal-readmehelp-2.0.0.0-beta1",
"DDQG-unsupported-drupal-schema_diff-1.0.0.0-alpha2",
......@@ -63,6 +63,5 @@
"DDQG-unsupported-drupal-views_tree-2.0.0.0-RC1",
"DDQG-unsupported-drupal-xls_serialization-0.0.0.0-dev",
"DDQG-unsupported-drupal-xnumber-2.0.0.0-beta2",
"DDQG-unsupported-drupal-zoom_video-1.3.2.0",
"GHSA-mg8j-w93w-xjgc"
]
......@@ -161,6 +161,9 @@
"drupal/profile": {
"#2899744 Multi-lingual": "https://www.drupal.org/files/issues/2022-04-17/2899744-54.patch"
},
"drupal/project_browser": {
"#3490176 Extend source plugins": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3490176.diff"
},
"drupal/prompt": {
"#3449733 ECA 2": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3449733.diff"
},
......
......@@ -161,6 +161,9 @@
"drupal/profile": {
"#2899744 Multi-lingual": "https://www.drupal.org/files/issues/2022-04-17/2899744-54.patch"
},
"drupal/project_browser": {
"#3490176 Extend source plugins": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3490176.diff"
},
"drupal/prompt": {
"#3449733 ECA 2": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3449733.diff"
},
......
diff --git a/src/Plugin/ProjectBrowserSource/Recipes.php b/src/Plugin/ProjectBrowserSource/Recipes.php
index 40d8410e51ab8006cd88975d79dff01ebdea6f4b..8269158ebd44b8452ecd9a033d8c158cd6b04bf4 100644
--- a/src/Plugin/ProjectBrowserSource/Recipes.php
+++ b/src/Plugin/ProjectBrowserSource/Recipes.php
@@ -28,12 +28,12 @@ use Symfony\Component\Finder\Finder;
class Recipes extends ProjectBrowserSourceBase {
public function __construct(
- private readonly FileSystemInterface $fileSystem,
- private readonly CacheBackendInterface $cacheBin,
- private readonly ModuleExtensionList $moduleList,
- private readonly FileUrlGeneratorInterface $fileUrlGenerator,
- private readonly ConfigFactoryInterface $configFactory,
- private readonly string $appRoot,
+ protected readonly FileSystemInterface $fileSystem,
+ protected readonly CacheBackendInterface $cacheBin,
+ protected readonly ModuleExtensionList $moduleList,
+ protected readonly FileUrlGeneratorInterface $fileUrlGenerator,
+ protected readonly ConfigFactoryInterface $configFactory,
+ protected readonly string $appRoot,
mixed ...$arguments,
) {
parent::__construct(...$arguments);
@@ -165,7 +165,7 @@ class Recipes extends ProjectBrowserSourceBase {
* @return \Symfony\Component\Finder\Finder
* A Symfony Finder object, configured to find locally installed recipes.
*/
- private function getFinder(): Finder {
+ protected function getFinder(): Finder {
$search_in = [$this->appRoot . '/core/recipes'];
// If any recipes have been installed by Composer, also search there. The
......@@ -158,6 +158,9 @@
"drupal/profile": {
"#2899744 Multi-lingual": "https://www.drupal.org/files/issues/2022-04-17/2899744-54.patch"
},
"drupal/project_browser": {
"#3490176 Extend source plugins": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3490176.diff"
},
"drupal/prompt": {
"#3449733 ECA 2": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3449733.diff"
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment