An open API service indexing awesome lists of open source software.

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

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"
]
}
}
}
```