Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Add a function call installRequirementsFile() so once composer install/update, we will prepare following folders/files
correctly for installation:
- sites/default/settings.php
- sites/default/services.yml
- sites/default/files/
Original implementation cloned from (ok these 2 files are just identical):
- https://github.com/drustack/drustack-standard/blob/7.44.x/src/Composer/S...
- https://github.com/drustack/drustack-standard/blob/develop/src/Composer/...
Usage example:
Comment | File | Size | Author |
---|---|---|---|
#3 | drupal-8.2.x-composer_php_installRequirementsFile-2760547-3.patch | 3.47 KB | hswong3i |
#3 | drupal-8.1.x-composer_php_installRequirementsFile-2760547-3.patch | 3.47 KB | hswong3i |
Comments
Comment #2
hswong3i CreditAttribution: hswong3i commentedComment #3
hswong3i CreditAttribution: hswong3i commentedComment #4
Mixologic'composer install' is run during packaging, and we do not want to package settings.php, or services.yml - only the example files, so having this run in an install script isnt something we can support.
Comment #9
borisson_I'm pretty sure this means that we should close this issue as won't fix.
Comment #12
MixologicLong term issue grooming.