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 2b86074 commit db4fe18Copy full SHA for db4fe18
src/ComposerScripts.php
@@ -73,6 +73,18 @@ public static function postDrupalScaffold() {
73
}
74
75
76
+ // Symlink sites files and folders into the the Drupal core git repo.
77
+ foreach (scandir('web/sites') as $file) {
78
+ if (!file_exists("repos/drupal/sites/$file")) {
79
+ static::makeSymlink("../../../web/sites/$file", "repos/drupal/sites/$file");
80
+ }
81
82
+ foreach (scandir('web/sites/default') as $file) {
83
+ if (!file_exists("repos/drupal/sites/default/$file")) {
84
+ static::makeSymlink("../../../../web/sites/default/$file", "repos/drupal/sites/default/$file");
85
86
87
+
88
// Create folders for running tests.
89
if (!file_exists('web/sites/simpletest')) {
90
mkdir('web/sites/simpletest', 0777, TRUE);
0 commit comments