
| Current Path : /var/www/html/ift/vendor/drush/drush/docs/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/ift/vendor/drush/drush/docs/config-exporting.md |
# Exporting and Importing Configuration Drush provides commands to [export](commands/10.x/config_export.md), [pull](commands/10.x/config_pull.md), and [import](commands/10.x/config_import.md) Drupal configuration files. ## 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](https://www.drupal.org/node/1928898). 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: ```php $config['system.site']['name'] = 'Local Install of Awesome Widgets, Inc.'; ``` Note that the configuration override system is a Drupal feature, not a Drush feature. It should be the preferred method for changing configuration values on a per-environment basis; however, it does not work for some things, such as enabling and disabling modules. ## Advanced - variation by environment - As of Drupal 8.8, Drupal supports [excluding development modules from enabling on higher environments](https://www.drupal.org/node/3079028). - See [Config Split](https://www.drupal.org/project/config_split) module for more advanced needs.