|
105 | 105 | * webserver. For most other drivers, you must specify a
|
106 | 106 | * username, password, host, and database name.
|
107 | 107 | *
|
| 108 | + * Drupal core implements drivers for mysql, pgsql, and sqlite. Other drivers |
| 109 | + * can be provided by contributed or custom modules. To use a contributed or |
| 110 | + * custom driver, the "namespace" property must be set to the namespace of the |
| 111 | + * driver. The code in this namespace must be autoloadable prior to connecting |
| 112 | + * to the database, and therefore, prior to when module root namespaces are |
| 113 | + * added to the autoloader. To add the driver's namespace to the autoloader, |
| 114 | + * set the "autoload" property to the PSR-4 base directory of the driver's |
| 115 | + * namespace. This is optional for projects managed with Composer if the |
| 116 | + * driver's namespace is in Composer's autoloader. |
| 117 | + * |
108 | 118 | * Transaction support is enabled by default for all drivers that support it,
|
109 | 119 | * including MySQL. To explicitly disable it, set the 'transactions' key to
|
110 | 120 | * FALSE.
|
|
224 | 234 | * 'database' => '/path/to/databasefilename',
|
225 | 235 | * ];
|
226 | 236 | * @endcode
|
| 237 | + * |
| 238 | + * Sample Database configuration format for a driver in a contributed module: |
| 239 | + * @code |
| 240 | + * $databases['default']['default'] = [ |
| 241 | + * 'driver' => 'mydriver', |
| 242 | + * 'namespace' => 'Drupal\mymodule\Driver\Database\mydriver', |
| 243 | + * 'autoload' => 'modules/mymodule/src/Driver/Database/mydriver/', |
| 244 | + * 'database' => 'databasename', |
| 245 | + * 'username' => 'sqlusername', |
| 246 | + * 'password' => 'sqlpassword', |
| 247 | + * 'host' => 'localhost', |
| 248 | + * 'prefix' => '', |
| 249 | + * ]; |
| 250 | + * @endcode |
227 | 251 | */
|
228 | 252 |
|
229 | 253 | /**
|
|
266 | 290 | * $settings['hash_salt'] = file_get_contents('/home/example/salt.txt');
|
267 | 291 | * @endcode
|
268 | 292 | */
|
269 |
| -$settings['hash_salt'] = 'w-NR7Q2C3URQH6qdRvDPlbxVqdvyGMbsOwyXgtqkdJGNI7FBMbrD79UMx2DDNlSqvfmY-OOKLw'; |
| 293 | +$settings['hash_salt'] = ''; |
270 | 294 |
|
271 | 295 | /**
|
272 | 296 | * Deployment identifier.
|
|
741 | 765 | */
|
742 | 766 | $settings['entity_update_backup'] = TRUE;
|
743 | 767 |
|
| 768 | +/** |
| 769 | + * Node migration type. |
| 770 | + * |
| 771 | + * This is used to force the migration system to use the classic node migrations |
| 772 | + * instead of the default complete node migrations. The migration system will |
| 773 | + * use the classic node migration only if there are existing migrate_map tables |
| 774 | + * for the classic node migrations and they contain data. These tables may not |
| 775 | + * exist if you are developing custom migrations and do not want to use the |
| 776 | + * complete node migrations. Set this to TRUE to force the use of the classic |
| 777 | + * node migrations. |
| 778 | + */ |
| 779 | +$settings['migrate_node_migrate_type_classic'] = FALSE; |
| 780 | + |
744 | 781 | /**
|
745 | 782 | * Load local development override configuration, if available.
|
746 | 783 | *
|
747 |
| - * Use settings.local.php to override variables on secondary (staging, |
748 |
| - * development, etc) installations of this site. Typically used to disable |
749 |
| - * caching, JavaScript/CSS compression, re-routing of outgoing emails, and |
750 |
| - * other things that should not happen on development and testing sites. |
| 784 | + * Create a settings.local.php file to override variables on secondary (staging, |
| 785 | + * development, etc.) installations of this site. |
| 786 | + * |
| 787 | + * Typical uses of settings.local.php include: |
| 788 | + * - Disabling caching. |
| 789 | + * - Disabling JavaScript/CSS compression. |
| 790 | + * - Rerouting outgoing emails. |
751 | 791 | *
|
752 | 792 | * Keep this code block at the end of this file to take full effect.
|
753 | 793 | */
|
|
756 | 796 | # include $app_root . '/' . $site_path . '/settings.local.php';
|
757 | 797 | # }
|
758 | 798 |
|
| 799 | +// <DDSETTINGS> |
| 800 | +// Please don't edit anything between <DDSETTINGS> tags. |
| 801 | +// This section is autogenerated by Acquia Dev Desktop. |
| 802 | +if (isset($_SERVER['DEVDESKTOP_DRUPAL_SETTINGS_DIR']) && file_exists($_SERVER['DEVDESKTOP_DRUPAL_SETTINGS_DIR'] . '/loc_rebuild_dd.inc')) { |
| 803 | + require $_SERVER['DEVDESKTOP_DRUPAL_SETTINGS_DIR'] . '/loc_rebuild_dd.inc'; |
| 804 | +} |
| 805 | +// </DDSETTINGS> |
| 806 | + |
759 | 807 | $settings['config_sync_directory'] = '../config/sync';
|
760 | 808 |
|
| 809 | + |
761 | 810 | // Load the initial variables required for the environments.
|
762 | 811 | include __DIR__ . DIRECTORY_SEPARATOR . '/init.settings.php';
|
763 | 812 |
|
|
0 commit comments