Exporting and Importing Configuration¶
Simple - value changes¶
It is not necessary to alter configuration values to make simple value changes to configuration variables, as this may be done by the configuration override system.
The configuration override system allows you to change configuration values for a given instance of a site (e.g. the development server) by setting configuration variables in the site's settings.php file. For example, to change the name of a local development site:
$config['system.site']['name'] = 'Local Install of Awesome Widgets, Inc.';
Advanced - variation by environment¶
- As of Drupal 8.8, Drupal supports excluding development modules from enabling on higher environments.
- See Config Split module for more advanced needs.