When configuring Personalization for multiple environments, your application’s settings.php
file can identify what environments are being used, and how they communicate with each other and with other Content Hub websites.
Each of the following configuration files must be modified for your application. These examples for Drupal are the unique values, which shouldn’t be updated in a database migration. In addition, there are other values which can be set and are not listed in either of the code samples.
Site Factory
Site Factory users can use the following script by placing it into its own file, and calling the script using the Site Factory
pre-settings-php
Factory hook as described in Altering values in settings.php with hooks.Download the file:
ACSF-D8-settings-sample-factory-hook.php
- Cloud Platform
- For the current Drupal version, download the file:
D8-example-settings.php
- For Drupal 7 websites, download the file:
D7-example-settings.php
- For the current Drupal version, download the file: