https://github.com/kanopi/drupal-integrations
Kanopi / Drupal integrations
https://github.com/kanopi/drupal-integrations
composer-package do-not-archive internal-tool
Last synced: 8 months ago
JSON representation
Kanopi / Drupal integrations
- Host: GitHub
- URL: https://github.com/kanopi/drupal-integrations
- Owner: kanopi
- Created: 2024-03-14T12:16:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-11T14:13:07.000Z (over 1 year ago)
- Last Synced: 2024-12-13T07:07:52.188Z (10 months ago)
- Topics: composer-package, do-not-archive, internal-tool
- Language: PHP
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kanopi/drupal-integrations
Add this project to any Drupal distribution based on drupal/core-composer-scaffold to enable it for use in Kanopi projects on Pantheon.
This project enables the following Kanopi / 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",
"kanopi/drupal-integrations"
},
...
"extra": {
"drupal-scaffold": {
"allowed-packages": [
"pantheon-systems/drupal-integrations",
"kanopi/drupal-integrations"
]
}
}
}
```