From c53247a943f38ff0c5bea25143e02145cc9f19eb Mon Sep 17 00:00:00 2001 From: Philip Peterson Date: Mon, 2 Nov 2026 05:39:29 -0900 Subject: [PATCH] Allow the symfony/runtime Composer plugin Newer Drupal 11 (core-recommended, resolved at build time) pulls in symfony/runtime, whose Composer plugin wasn't in allow-plugins, so composer install refused to run. It's Symfony's own plugin. Co-Authored-By: Claude Opus 5.5 --- composer.json | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index bff7ed9..49b2a4a 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,8 @@ "config": { "allow-plugins": { "composer/installers": true, - "drupal/core-composer-scaffold": true + "drupal/core-composer-scaffold": true, + "symfony/runtime": true }, "sort-packages": true }, @@ -26,13 +27,27 @@ } }, "installer-paths": { - "web/core": ["type:drupal-core"], - "web/modules/contrib/{$name}": ["type:drupal-module"], - "web/profiles/contrib/{$name}": ["type:drupal-profile"], - "web/themes/contrib/{$name}": ["type:drupal-theme"], - "drush/Commands/contrib/{$name}": ["type:drupal-drush"], - "web/modules/custom/{$name}": ["type:drupal-custom-module"], - "web/themes/custom/{$name}": ["type:drupal-custom-theme"] + "web/core": [ + "type:drupal-core" + ], + "web/modules/contrib/{$name}": [ + "type:drupal-module" + ], + "web/profiles/contrib/{$name}": [ + "type:drupal-profile" + ], + "web/themes/contrib/{$name}": [ + "type:drupal-theme" + ], + "drush/Commands/contrib/{$name}": [ + "type:drupal-drush" + ], + "web/modules/custom/{$name}": [ + "type:drupal-custom-module" + ], + "web/themes/custom/{$name}": [ + "type:drupal-custom-theme" + ] } } }