Skip to content

Commit

Permalink
Merge branch 'convert-site-recipe' of github.com:frees-au/ce into con…
Browse files Browse the repository at this point in the history
…vert-site-recipe
  • Loading branch information
tannguyen04 committed Jun 3, 2024
2 parents 15ccb95 + 36d9867 commit 2b92561
Show file tree
Hide file tree
Showing 5 changed files with 164 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .ddev/commands/host/scratch
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

ddev drush site:install minimal --yes
ddev drush config:set system.site uuid '67893125-a67c-49fe-ab82-c1e0fd0dc8f9' --yes
ddev drush config:import --yes
# Install the site directly from the config.
ddev drush si minimal --existing-config -y

# Install additional functionality which is not part of the captured config.
ddev drush pm:install fs_test default_content --yes
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
],
"require": {
"composer/installers": "^2.0",
"cweagans/composer-patches": "~2.0",
"drupal/admin_toolbar": "^3.4",
"drupal/ckeditor5_template": "^1.0",
"drupal/config_ignore": "^3.2",
Expand Down Expand Up @@ -119,6 +120,10 @@
"patchLevel": {
"drupal/core": "-p2"
},
"patches": {}
"patches": {
"drupal/webform": {
"[#3345590] Drush 12 moved the namespace": "./config/patches/webform_3345590_3.patch"
}
}
}
}
125 changes: 124 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions config/patches/webform_3345590_3.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/src/Commands/WebformSanitizeSubmissionsCommands.php b/src/Commands/WebformSanitizeSubmissionsCommands.php
index 0db7d1bff..d8aca13e2 100644
--- a/src/Commands/WebformSanitizeSubmissionsCommands.php
+++ b/src/Commands/WebformSanitizeSubmissionsCommands.php
@@ -7,7 +7,7 @@ use Drupal\Core\Database\Connection;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drush\Commands\DrushCommands;
-use Drush\Drupal\Commands\sql\SanitizePluginInterface;
+use Drush\Commands\sql\sanitize\SanitizePluginInterface;
use Symfony\Component\Console\Input\InputInterface;

/**
17 changes: 17 additions & 0 deletions patches.lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"_hash": "ea346eeeedcaab70908859ee2839e9cf92cd26ba1f3d73731e887dfb6c56fb56",
"patches": {
"drupal/webform": [
{
"package": "drupal/webform",
"description": "[#3345590] Drush 12 moved the namespace",
"url": "./config/patches/webform_3345590_3.patch",
"sha256": "5742d76928b8b2ddcd4a3acdda52661f03b40207a9afd2835fd7ccd711bd9ca9",
"depth": 1,
"extra": {
"provenance": "root"
}
}
]
}
}

0 comments on commit 2b92561

Please sign in to comment.