pantheon-systems / drupal-integrations
Add this project to any Drupal distribution based on drupal/core-composer-scaffold to enable it for use on Pantheon.
Installs: 3 487 176
Dependents: 25
Suggesters: 1
Security: 0
Stars: 13
Watchers: 37
Forks: 13
Open Issues: 10
Type:project
Conflicts
- drupal/core: <10
- dev-master
- 11.x-dev
- 11.0.0
- 10.x-dev
- 10.0.1
- 10.0.0
- 10.0.0-beta1
- 9.x-dev
- 9.0.5
- 9.0.4
- 9.0.3
- 9.0.2
- 9.0.1
- 9.0.0
- 9.0.0-alpha2
- 9.0.0-alpha1
- 8.x-dev
- 8.0.8
- 8.0.7
- 8.0.6
- 8.0.5
- 8.0.4
- 8.0.3
- 8.0.2
- 8.0.1
- 8.0.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
- dev-add-catalog-workflow-20241010
- dev-rename-catalog-info-20240923
- dev-add-catalog-info-20240910
- dev-protect-config_sync_directory_8.x
- dev-protect-config_sync_directory_9.x
- dev-BUGS-3348-Empty-DB-Redirect-8x
- dev-BUGS-3348-Empty-DB-Redirect
- dev-relocated-docroot-only
- dev-upstream-misnaming
This package is auto-updated.
Last update: 2024-10-11 01:23:16 UTC
README
Add this project to any Drupal distribution based on drupal/core-composer-scaffold to enable it for use on Pantheon.
This project enables the following Pantheon/Drupal integrations:
- Injects the Pantheon database credentials for the Drupal site
- Provides a default PHP version to use (7.3)
- Enables HTTPS (in transitional mode) by default
- Demonstrates how to turn on twig debugging on non-production Pantheon environments
- Sets the path to:
- Configuration import / export directory
- Private files
- Temporary files
- Twig cache files
- Establishes a secure, random hash salt for Drupal
- Injects the Pantheon Service Provider (clears edge cache on cache rebuild, etc.)
- Prevents the user from updating Drupal core with Drush
- Configures the trusted host patterns to avoid a warning that is not applicable to Panthoen
- Ignores large cache directories (e.g. node modules and bower components)
Enabling this project
This project must be enabled in the top-level composer.json file, or it will be ignored and will not perform any of its functions.
{
...
"require": {
"pantheon-systems/drupal-integrations": "^9"
},
...
"extra": {
"drupal-scaffold": {
"allowed-packages": [
"pantheon-systems/drupal-integrations"
]
}
}
}
Versions
Use version "^8" for Drupal 8, and version "^9" for Drupal 9.