Download the PHP package pantheon-systems/drupal-integrations without Composer
On this page you can find all versions of the php package pantheon-systems/drupal-integrations. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pantheon-systems/drupal-integrations
More information about pantheon-systems/drupal-integrations
Files in pantheon-systems/drupal-integrations
Package drupal-integrations
Short Description Add this project to any Drupal distribution based on drupal/core-composer-scaffold to enable it for use on Pantheon.
License MIT
Informations about the package drupal-integrations
pantheon-systems/drupal-integrations
Add this project to any Composer-managed Drupal to enable it for use on Pantheon.
This project enables the following Pantheon/Drupal integrations:
- Injects the Pantheon database credentials for the Drupal site
- 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.)
- Configures the trusted host patterns to avoid a warning that is not applicable to Pantheon
- Ignores large cache directories (e.g. node modules and bower components)
Enabling this project
To enable this project, it must first be added to the Drupal site:
Then, Pantheon must be enabled from within your site's settings.php file:
See the include-settings.php.tmpl file for additional configuration you may wish to include in your settings.php file.
Versions
Use the major version of this project that matches your Drupal version.
Drupal Version | drupal-integrations Version |
---|---|
11.x | ^11 |
10.x | ^10 |
9.x | ^9 |
8.x | ^8 |
Scaffolding
Early versions of this project used the project drupal/core-composer-scaffold to copy the files needed into the right locations. Starting with Drupal 10.4, the scaffold extension is deprecated, and will cause the Drupal Package Manager to refuse to allow your site to be updated if it is allowed to scaffold files in your site's root composer.json file.
If your site is still using the scaffolding feature, you will see the following error messages:
and:
To fix this problem, first update to the latest version of pantheon-systems/drupal-integrations via composer update
; be sure you are on version 11.1.0 or later for a Drupal 11 site, or 10.1.0 for a Drupal 10 site. Then, find the following section in your top-level composer.json file:
Delete the allowed-packages
section.
Next, find the following line in your settings.php file:
Replace that one line with the entire contents of the include-settings.php.tmpl file. Once you do this, the settings.pantheon.php
file will no longer be copied into your site's configuration folder, and will instead be included directly from its installed location in the vendor
directory. This should also cause the errors from the Drupal Package Manager to go away.
The above steps can be done automatically via Terminus. (Note: Requires the Terminus Composer plugin.)