diff --git a/composer.json b/composer.json index af789194d..54d60e306 100644 --- a/composer.json +++ b/composer.json @@ -29,6 +29,13 @@ { "type": "composer", "url": "https://asset-packagist.org" + }, + { + "type": "path", + "url": "./recipes/thunder_article", + "options": { + "symlink": false + } } ], "extra": { diff --git a/recipes/thunder_article/composer.json b/recipes/thunder_article/composer.json new file mode 100644 index 000000000..e31b00714 --- /dev/null +++ b/recipes/thunder_article/composer.json @@ -0,0 +1,9 @@ +{ + "name": "thunder/thunder-article-recipe", + "type": "drupal-recipe", + "description": "Thunder recipe that installs the Trash module for content recovery", + "license": "GPL-2.0-or-later", + "require": { + "drupal/trash": "^3.0" + } +} diff --git a/recipes/thunder_article/recipe.yml b/recipes/thunder_article/recipe.yml new file mode 100644 index 000000000..362190bd2 --- /dev/null +++ b/recipes/thunder_article/recipe.yml @@ -0,0 +1,10 @@ +name: 'Thunder Article Recipe' +description: 'Installs the Trash module with default configuration for content recovery in Thunder' +type: 'Feature' + +install: + - trash + +config: + import: + trash: '*' diff --git a/thunder.info.yml b/thunder.info.yml index 8d5b0f9c5..1d5943b0d 100644 --- a/thunder.info.yml +++ b/thunder.info.yml @@ -16,6 +16,9 @@ dependencies: - drupal:views - update_helper:update_helper +recipes: + - thunder_article + install: # core - drupal:block